Movie Administration is an example that demonstrates how to use virtual forms, ObjectListDataProvider, and RequestBean in Netbeans.
The Movie Administration example is a simple administrative application for a movie rental business. The business maintains data about its movie collection in a data store, and the administrative application enables employees to make changes to that data. The business also has a separate external web site that enables customers to browse the collection. The same data store is used for the external web site.
An employee using the application can view the movies in a particular genre by making a selection in the Current Genre dropdown list. The Movies table shows the movies in the current genre. Within the Movies table, the title, year, length in minutes, rating, image URL, and description fields can be edited; the changes are saved when the employee clicks the Update button or uses the table's paging controls (when available). The employee can remove a movie from the collection by clicking the Remove button in one of the rows. Clicking the Preview button in one of the rows navigates to Preview.jsp, which enables the employee to preview the detail page for a movie as it would be seen by a customer browsing the external web site. (Preview.jsp also enables the employee to change the genre of the movie being previewed.) A separate set of controls appears below the table for adding a movie to the collection.
For more information, see the accompanying online technical article "How to Use Virtual Forms."
Note: You must build the project before opening any of the pages otherwise the designtime experience will not be enjoyable, because an error message will be displayed in the Designer.
Close the Help window.