Holiday Resorts Members Assistant
This is an internet application aimed at assisting Sterling Resorts Members. Each member is given
a member id and password, using which a member logs in. Member can get details of various resorts
of Sterling Resorts their seasons and other relevant information. Member can provide feedback, change their
address and password, and make a request for vacation.
Technologies and Products used
- NetBeans 5.5
- Tomcat 5.5 embedded in NetBeans
- Oracle10g Express Edition
- Java Server Pages (JSP)
- Java Beans
- CMail Server and JavaMail
The following are the steps to related to be taken to run the existing part of the application :
- Create maaccount with password ma
in Oracle10g Express Edition. This must be done after you log in as SYSTEM user.
create user ma identified by ma;
grant connect,resource to ma;
- Create required tables in ma account by using commands in tables.txt file (you find it in your project when you go to files view of NetBeans).
.
- Download ma.zip and unzip it into d:\ directory.
You can substitute d:\ with another path if you like.
- Start NetBeans 5.5.
- Open ma project in NetBeans using File->Open Project option and select directory ma. Project from ma is opened.
- Add Oracle Library - ojdbc14.jar, Java Mail (mail.jar, activation.jar) library to ma project.
- Build and deploy the project to embedded Tomcat of NetBeans.
- Run this project - you must see index.jsp page.
Deploying Web Application In Tomcat of JBoss
The following procedure explains how to deploy a web application ma, developed with Tomcat that is embedded with NetBeans to Tomcat embedded
in JBOSS application server.
- You better change port number at which Tomcat in JBoss is running using JBOSS_HOME\server\default\deploy\jbossweb-tomcat55.sar\server.xml file. Change port number of HTTP Container from 8080 to 9999.
This is required as Oracle10g also uses 8080.
- Copy ma.war from dist directory of ma project into JBOSS_HOME\server\default\deploy directory.
- Run the application using the following url:
http://localhost:9999/ma
- You should see login page of the application.