Thursday, January 26, 2012

Tutorial Conclusion

We have demonstrated a complete application using a multi-tiered approach.  We started with a presentation layer, went to a persistence layer, moved to a business logic layer, and back to the presentation layer.  Then, we added a web services layer.  We implemented a MVC model using JSF as the view, servlets as the controller, and EJB as the model.  We introduced dependency injection via the beans and demonstrated its usefulness for both application development and testing.  (Although, there are many other benefits)  And we tested the Web Services, Persistence, and Beans with JUnit.  Lastly, we demonstrated AOP and implemented a logger that can be put into place for all or objects and enabled or disabled at runtime.  Along the way we encountered 2 minor Mojarra bugs, configured JNDI in Glassfish, persistence with JPA (using Hibernate), used CDI for injection, and developed Named Beans, Managed Beans, and EJ Beans.

This tutorial is by no means exhaustive.  Each concept introduced will require more exploration, but I have given you a complete model for you to see many technologies tied together (minus security).  Even though you may be proficient in some aspects, hopefully I have given you areas you were not familiar with.  As you viewed a technology,  you were given multiple concepts that you can now view more thoroughly.

As I post more projects, you may wish to review the PAGES label for other tutorials.

No comments:

Post a Comment