Exercises
Download the source code for the xen-national-force caseworker application and study the implementation for a few hours. What do you notice? Compile the code and deploy the resultant WAR to your application server of choice.
With the material from this chapter, create your CRUD AngularJS application with just one simple entity,
EMPLOYEE
. This entity should have an employee ID, name, and social security number. Build the client side with AngularJS and the server side with JAX-RS. (In the book's source code, there is a blank project that will help you get started.)While building the EMPLOYEE CRUD from the previous question in AngularJS and JavaEE, did you use the modal dialog from UI Bootstrap? If not, investigate other means of rendering the view to insert, update, and delete records. (Hint: One possible way is dynamically showing and hiding different
DIV
elements.)There is an obvious design flaw with the caseworker application. Did you find it? When the caseworker shows and hides...