Travel Center Sample Application Read Me

This application demonstrates the data-binding capabilities offered by the Netbeans 6 visual web user experience.

You can drag and drop a datasource such as a database table and bind it to JavaServer Faces components to display the information. In the Page1.jsp of this application the DropDown List component and the Table component are bound to the Person and Trip tables respectively of the sample Travel database bundled with the IDE. Please switch to the Java view of Page1 to see how event handling is being carried out in this page.

In the TripDetails page, the Flight, Auto Rental, and Hotel tables are bound to the Fligh, CarRental, and Hotel tables respectively. See the init() method in the TripDetails Java file to view how the data providers are getting refreshed every time a new trip is selected.

Note

You must have Glasfish V2 installed, and you should have the sample Travel started before opening the application.

Close the Help window.