C.2. Testing the application

C.2.1. Starting the legacy order processingsystem

To be able to make reservations, we need something to simulate the legacy financial processing system. The class LegacyOrderSystem plays this role. It is a standalone Java application, and can be run using the Ant operation:

ant runlegacysystem 

It is advisable to do this in a separate command-line window, or its output will get in the way.

C.2.2. Running the application

It should now be possible to run the application using a Web browser. Point the browser at the URL: http://[server]:[port]/BikeHire, replacing the server name and port number with the appropiate settings for your system. The default port number is 8000; use the name localhost if you are running ...

Get Applied Enterprise JavaBeans™ Technology now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.