6.15. Testing Iteration 1Now that we've written and deployed an EJB and called it from the Controller Servlet, let's test the application to ensure that everything still works properly. Here are the steps to build and deploy the application:
When you click on the "View Inventory" link on the JAW Motors home page, the Controller Servlet takes you to the Inventory page where you can view, add, edit, or delete cars in JAW Motors' Inventory. We've spent a lot of time in Iteration 1 establishing the core infrastructure for using EJBs in the application, and now we'll move on to Iterations 2 and 3, where we'll move the business logic from the Web Tier to the EJB, and then finally add the ability to buy a car. Since we have all the plumbing in place, these next two Iterations will be much shorter than the first. |