Sun Java Solaris Communities My SDN Account Join SDN
 
Java Adventure Builder Demo 1.0 Early Access 3.1

Using the Demo

 


Guidelines, Patterns, and code for end-to-end Java applications.

Java Adventure Builder Demo 1.0 Early Access > Using the Demo

Using the Demo

This section describes how to use the Java Adventure Builder Demo, version    1.0 Early Access 3.1. It starts by describing the high-level components of  the demo, and then shows how to use the demo through its various user interfaces.     
  • Demo At A Glance
  • Using the Adventure Builder Website

Demo At A Glance

The early access 3 version of the Adventure Builder demo consists of the following  high level components:
  • The Adventure Builder Website--Presents the main interface to existing / new customers. Customers use this Web site to browse the various adventure packages that are available, create new accounts as well as book an adventure package.
          The Web site also enables the customer to track the status of orders that were placed earlier.
  • The Order Processing Center (OPC)--Receives and processes customer bookings by coordinating with various business partners, such as airlines, hotels, activity providers and so forth.

Using the Adventure Builder Web Site

Accessing the Adventure Builder Web Site

Using a browser, access the following URL:

http://localhost:1024/ab

Click the "Start an adventure" link.

Note that if the J2EE server is not  running on localhost, you need to replace "localhost" in the URL listed above  with the name of server where J2EE is running. And also if you had chosen a different port for the server, you need to replace "1024" in the URL listed above with the port of your choice.

Browsing the Adventure Builder Web Site And Choosing an Adventure

The home page of the Adventure Builder Web site gives an array of choices  for different categories of available adventures. Clicking these  major categories of adventures displays the specific adventure  packages available for the chosen category. Each adventure is pre-packaged--that is, each has a default set of lodging and activities. Click the adventure package of interest to display the details of the adventure along with the default lodging and activities available with the package.

Click the link "Purchase Package" to go to a Web page where you are asked to enter package details such as the number of people, number of days, start date, and number of rooms. Once you choose these details and click "Continue" a subsequent page lets you specify the city of origin and choose the mode of transport to the adventure locale. If you plan to arrange your own transportation, you may do so in this same page. You may also choose from a set of available flights.

Changing Cart Contents

When you complete the above steps, you see a summary of the package you have chosen. You can either make more changes (using the links provided) or choose to confirm the purchase of the adventure package. The Web site allows you to change the number of nights lodging, the number of people per activity, and the type of lodging, activity, and  transportation mode. If you want to change the number of people or number of days, choose the appropriate fields in the "Summary" screen and click the "update" button. If you want to change the Lodging / Activities / Transportation details, you may do so using the appropriate links provided.

Booking Your Vacation

Once you have finalized the contents of your adventure package, book  your vacation by clicking the "Checkout" link. Clicking this link  places your reservation for confirmation with the Order Processing (OPC) component. If you have not  yet signed in, you will first have to sign in (and possibly create a new account) before placing  your reservation for confirmation with the OPC. When you place your reservation, you get an order id for your reference. Remember that the OPC will try its best to satisfy your order. If even one of the  choices of your order cannot be confirmed, your order will not go through, and you will be notifed via email.

Tracking Order Status

Track the status of your order by clicking the "Track Order" Link on the top left of the page and entering the order ID.

Sign in or Create New Account

To sign in as an existing user or create a new user account, click the "Account" link available at the top left corner of your browser window. You can either sign in (if you already have an account) or create a new account (in which case, you will be asked to enter some identifying information).