- Apache Roller 4.0 – Beginner's Guide
- Alfonso Romero
- 312字
- 2021-04-01 13:39:54
Time for action — downloading the JAF API
In this exercise, we're going to download the JAF API from the Sun website. The steps are almost identical to the JavaMail exercise, so you can use it as a reference.
- Open your web browser and go to http://java.sun.com/javase/technologies/desktop/javabeans/jaf/downloads/index.html. Scroll down through the page until you find the Download JavaBeans Activation Framework 1.1.1 release Download link, and click on it:
- Select I agree to the Software License Agreement and click on Continue:
- Click on the jaf-1_1_1.zip link to open the Opening jaf-1_1_1.zip dialog. Select the Save File radio button and click on the OK button:
- Once the download is complete, go to the directory where you downloaded the
jaf-1_1_1.zip
file. - Unzip the
jaf-1_1_1.zip
file and locate theactivation.jar
file inside thejaf-1_1_1
folder. Right-click on theactivation.jar
file and select Copy from the pop-up menu: - Use Windows Explorer to navigate to Tomcat's
lib
directory and paste theactivation.jar
file in there. Your Tomcat'slib
folder should now include the activation.jar and mail.jar files, as shown in the following screenshot: - You can close Windows Explorer and your web browser now.
What just happened?
Now that you have the mail.jar
and activation.jar
files inside Tomcat's lib
folder, Roller will be able to send e-mail notifications when someone leaves comments on your blog. The good part is that you don't need to know how to manipulate the Java code inside mail.jar
or activation.jar
, Roller takes care of that automatically, and you just have to blog, blog, and blog!
The MySQL JDBC driver
MySQL Connector/J 5.1
is the official JDBC driver used for connecting to MySQL databases from Java applications such as Apache Roller. In this next exercise, you'll download the Connector/J 5.1 jar
file and copy it to Tomcat's lib
folder, so that Roller can communicate with the rollerdb
database that you'll create in a later section.
- Photoshop CC摳圖+修圖+調(diào)色+合成+特效標(biāo)準(zhǔn)培訓(xùn)教程(全視頻微課版)
- 音樂(lè)日記:Logic Pro X場(chǎng)景x風(fēng)格編曲實(shí)用教程
- Photoshop CS6實(shí)戰(zhàn)基礎(chǔ)培訓(xùn)教程(全視頻微課版)
- 中文版Photoshop CS6全能一本通·全彩版
- VRP11/3ds Max虛擬現(xiàn)實(shí)制作標(biāo)準(zhǔn)實(shí)訓(xùn)教程
- SolidWorks 2018快速入門(mén)及應(yīng)用技巧
- Designing and Implementing Linux Firewalls and QoS using netfilter, iproute2, NAT and l7/filter
- Building Websites with XOOPS : A step/by/step tutorial
- Flash CS5動(dòng)畫(huà)設(shè)計(jì)教程
- 從零開(kāi)始:Dreamweaver CS6中文版基礎(chǔ)培訓(xùn)教程
- Photoshop圖像處理與制作
- Alfresco 3 Cookbook
- CG數(shù)碼插畫(huà)場(chǎng)景藝術(shù)設(shè)計(jì)
- 平面設(shè)計(jì)師職業(yè)教程(Photoshop技能實(shí)訓(xùn))
- SAI+Photoshop漫畫(huà)/插畫(huà)繪制技法全解析