Visual-JSF
From Resin 3.0
(Difference between revisions)
m (→Deploying Visual JSF Application) |
|||
Line 6: | Line 6: | ||
Vehicle Incident Report Application | Vehicle Incident Report Application | ||
− | === Deploying Visual JSF Application === | + | ===Step By Step: Deploying Visual JSF Application === |
+ | |||
+ | Tested with the following, supplied with with NetBeans IDE 6.0.1, samples: | ||
<ol> | <ol> | ||
− | <li> | + | <li>Corporate Travel Center |
+ | <li>Movie Administration | ||
+ | <li>Vehicle Incident Report Application | ||
+ | </ol> | ||
+ | |||
+ | Deploying Corporate Travel Center Application | ||
+ | <ol> | ||
+ | <li>Download Resin from http://caucho.com/download | ||
+ | <li>Unzip Resin into /usr/local/share/resin | ||
+ | <li>Change into /usr/local/share/resin/webapps directory and create directory TravelCenter | ||
+ | <li>If you already have a deployable Corporate Travel Center Application you can skip to deploying the app | ||
+ | <li>Start Netbeans IDE6.0.1 and go to the File menu and choose New Project | ||
+ | <li>In the New Project dialog open Samples -> Web -> Visual JSF and choose Corporate Travel Center, click Next | ||
+ | <li>Optionally, change project's name. It will be referred to as TravelCenter in the steps below | ||
+ | <li>Select the project in NetBeans Projects Navigator pane (left pane of the IDE) and choose "Clean and Build" from contextual drop down menu (mouse - right button on windows) | ||
+ | <li>Deploy the exploded application via copying contents of web folder that was created by the Build process. The folder is located in build folder of the TravelCenter home directory | ||
+ | <li>A successfully deployed application will have the following structure under the webapps folder of Resin | ||
+ | <pre> | ||
+ | <code> | ||
+ | webapps | ||
+ | -> TravelCenter | ||
+ | ->META-INF | ||
+ | ->resources | ||
+ | ->WEB-INF | ||
+ | ->Details.jsp | ||
+ | ->.. | ||
+ | ->readme.html | ||
+ | </code> | ||
+ | </pre> | ||
+ | <li> | ||
+ | <li>Download Resin from http://caucho.com/download | ||
+ | <li>Unzip Resin into /usr/local/share/resin | ||
+ | |||
<li>create resin-web.xml file with the following content | <li>create resin-web.xml file with the following content | ||
<code><pre> | <code><pre> | ||
Line 19: | Line 53: | ||
<li> | <li> | ||
<li>Browse to http://localhost:8080/trinidad-blank | <li>Browse to http://localhost:8080/trinidad-blank | ||
− | </ | + | </l> |
Revision as of 03:06, 26 April 2008
Step by Step (Deploying Visual JSF Demo Application)
[Tested with Resin 3.1.6 and ... ]
Travel Center Vehicle Incident Report Application
Step By Step: Deploying Visual JSF Application
Tested with the following, supplied with with NetBeans IDE 6.0.1, samples:
- Corporate Travel Center
- Movie Administration
- Vehicle Incident Report Application
Deploying Corporate Travel Center Application
- Download Resin from http://caucho.com/download
- Unzip Resin into /usr/local/share/resin
- Change into /usr/local/share/resin/webapps directory and create directory TravelCenter
- If you already have a deployable Corporate Travel Center Application you can skip to deploying the app
- Start Netbeans IDE6.0.1 and go to the File menu and choose New Project
- In the New Project dialog open Samples -> Web -> Visual JSF and choose Corporate Travel Center, click Next
- Optionally, change project's name. It will be referred to as TravelCenter in the steps below
- Select the project in NetBeans Projects Navigator pane (left pane of the IDE) and choose "Clean and Build" from contextual drop down menu (mouse - right button on windows)
- Deploy the exploded application via copying contents of web folder that was created by the Build process. The folder is located in build folder of the TravelCenter home directory
- A successfully deployed application will have the following structure under the webapps folder of Resin
<code> webapps -> TravelCenter ->META-INF ->resources ->WEB-INF ->Details.jsp ->.. ->readme.html </code>
- Download Resin from http://caucho.com/download
- Unzip Resin into /usr/local/share/resin
- create resin-web.xml file with the following content
<?xml version="1.0" encoding="UTF-8"?> <web-app> <jsp validate-taglib-schema="false" fast-jsf="false"/> </web-app>
- Browse to http://localhost:8080/trinidad-blank </l>