Presentation is loading. Please wait.

Presentation is loading. Please wait.

Matthew Ellis 02392537 23 rd January 2006 CM610 Assignment Bsc(Hons) Computing Studies.

Similar presentations


Presentation on theme: "Matthew Ellis 02392537 23 rd January 2006 CM610 Assignment Bsc(Hons) Computing Studies."— Presentation transcript:

1 Matthew Ellis 02392537 23 rd January 2006 CM610 Assignment Bsc(Hons) Computing Studies

2 About this application This application is a Java enterprise application which accesses a PointBase database and allows you to search by ID and surname, insert a new record or update an existing record. Please follow the following instructions to set up the application on a standard school of informatics computer set up.

3 The files Insert CD into the drive Copy the main directory “ass610” to the U drive of the computer Open the command window and navigate, using cd (change directory) to: u:/ass610/ejb/ass610

4 Point Base All the programs and servers are contain in “Start”, “Programs”, “Computing”, “Java”,”J2EE 1.4 SDK” Start the PointBase Server Start the Default Server Open a web browser and navigate to http://localhost:4848/asadmin Expand the “JDBC” node In the main window select “JDBC Resources” and select new Type “jdbc/addressbook” in the JNDI Name field Select “PointBasePool” from the “Pool Name” drop down Click “OK”. The data source is now declared.

5 The Deployment Open the Deployment Tool for Sun Java System Application Server Click “File”, then “Open”. Navigate to “U:\ass610\ejb\ass610” and select “Assignment.ear” and click “Open Module” The application will now be shown in the left hand part of the window.

6 The Deployment Select the application “Assignment” Click “Tools”, then “Deploy” On the pop up dialog box click “Ok” On the next pop up dialog box click “Close”, when available The application is now deployed

7 Creating the Database In the command window navigate to “U:\ass610\ejb\ass610” Type “asant create-db_common This will run the SQL script and deploy the database You are now ready to use the “Global Address Book”

8 Using the Global Address Book Open a web browser. Type in the URL http://localhost:8080/address http://localhost:8080/address This will display the home page for “The Global Address Book” You can search, update and add a new entry. Enjoy!


Download ppt "Matthew Ellis 02392537 23 rd January 2006 CM610 Assignment Bsc(Hons) Computing Studies."

Similar presentations


Ads by Google