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

The following are the steps to related to be taken to run the existing part of the application :

  1. 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;
        
  2. 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). .
  3. Download ma.zip and unzip it into d:\ directory. You can substitute d:\ with another path if you like.
  4. Start NetBeans 5.5.
  5. Open ma project in NetBeans using File->Open Project option and select directory ma. Project from ma is opened.
  6. Add Oracle Library - ojdbc14.jar, Java Mail (mail.jar, activation.jar) library to ma project.
  7. Build and deploy the project to embedded Tomcat of NetBeans.
  8. 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.
  1. 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.
  2. Copy ma.war from dist directory of ma project into JBOSS_HOME\server\default\deploy directory.
  3. Run the application using the following url:
       http://localhost:9999/ma
     
  4. You should see login page of the application.