Summary

This chapter explained the implementation of a Model 2/MVC/framework-based application using the Struts package. We examined the code in detail and found useful implementations of the DAO and value object design patterns. We also demonstrated of the use of XML transformations to create HTML output.

In the next chapter we will take a look at some of the servlets and helper classes we saw used in the code shown in this chapter: the BlobView servlet and the DAO and value object implementations. We will also examine how to integrate EJBs into this application by implementing the ShoppingCartBean shown in this chapter as an EJB.

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.