Summary

In this chapter we examined the code behind the discussion group system introduced in the previous chapter. This provided a working example of how to use JSP and Java classes to create a working Web application. We implemented various Java design patterns in the development of this application, including the session facade design pattern, DAO and value object design patterns.

Since we did not implement a strict controller component for the entire Web application, this was essentially an implementation of the Model 1 Architecture for JSP applications. But by implementing the facade design pattern we did effectively use a control object for a large portion of the application logic and thus did gain some of the benefit of that approach. ...

Get J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.