JSF Exercise
JSF Exercise
There should be a possibility to add new users, and to change which users can
update/add/delete or view employees. There is no need to provide programmatic
interface for adding users or changing their attributes. Assume it can be done
manually. You only need to provide a way to refresh the users information without
restarting the application server.
1. Architecture
The design should follow the following guidelines:
1. The web interface should follow the Model-View-Controller design
architecture (MVC). Use the JSF framework as the MVC framework.
2. The presentation layer (jsp) should be clearly separated from the business
logic. Use custom made JSP tags rather then scriplets.
3. Use built in JSP tags and JSF tags in your JSP pages.
4. Use a JSP based error handler to handle remote exceptions as well as JSF
navigation mechanism.
5. Use JSF backing beans
6. A refresh mechanism (refresh button for example) will allow refreshing of
user security information.
7. Follow the Java coding conventions when programming the EMS.
8. Format your code, using Jalopy and add proper JavaDoc comments.