Java Reference
In-Depth Information
come back from the park. The bean also has business methods for retrieving lists of stu-
dents. The business methods in RequestBean use strongly-typed Criteria API queries
to retrieve data from the database.
For information on creating and using enterprise beans, see Part IV , “Enterprise Beans,”
in The Java EE 6 Tutorial: Basic Concepts . For information on creating strongly-typed
Criteria API queries, see Chapter 22 , “Using the Criteria API to Create Queries,” in The
Java EE 6 Tutorial: Basic Concepts .
Facelets Files Used in the Main Interface
The Duke's Tutoring application uses Facelets to display the user interface, and makes
extensive use of the templating features of Facelets. Facelets is the default display tech-
nology for JavaServer Faces, and consists of XHTML files located in the tut-install /ex-
amples/case-studies/dukes-tutoring/dukes-tutoring-war/web/
directory.
The following Facelets files are used in the main interface:
template.xhtml
Template file for the main interface
error.xhtml
Error file employed if something goes wrong
index.xhtml
Landing page for the main interface
park.xhtml
Page showing who is currently at the park
current.xhtml
Page showing who is currently in today's tutoring session
statusEntries.xhtml
Page showing the detailed status entry log for today's session
resources/components/allStudentsTable.xhtml
A composite component for a table displaying all active students
resources/components/currentSessionTable.xhtml
A composite component for a table displaying all students in today's session
resources/components/parkTable.xhtml
Search WWH ::




Custom Search