Administration Interface
The administration interface of Duke’s Tutoring is used by the tutoring center staff to manage the data employed by the main interface: the students, the students’ guardians, and the addresses. The administration interface uses many of the same components as the main interface. Additional components that are only used in the administration interface are described here.
Enterprise Beans Used in the Administration Interface
The following enterprise beans, in the dukestutoring.ejb package, are used in the administration interface:
- AdminBean
A stateless session bean for all the business logic used in the administration interface. Contains security constraint annotations to allow invocation of the business methods only by authorized users.
Facelets Files Used in the Administration Interface
The following Facelets files are used in the administration interface:
- admin/adminTemplate.xhtml
Template for the administration interface
- admin/index.xhtml
Landing page for the administration interface
- admin/login.xhtml
Login page for the security-constrained administration interface
- admin/loginError.xhtml
Page displayed if there are errors authenticating the administration user
- admin/address directory
Pages that allow you to create, edit, and delete Address entities
- admin/guardian directory
Pages that allow you to create, edit, and delete Guardian entities
- admin/student directory
Pages that allow you to create, edit, and delete Student entities
- resources/components/formLogin.xhtml
Composite component for a login form using Java EE security
- WEB-INF/includes/adminNav.xhtml
XHTML fragment for the administration interface’s navigation bar