O'Reilly logo

Head First Servlets and JSP, 2nd Edition by Bert Bates, Bryan Basham, Kathy Sierra

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Patterns to support remote model components

We’ve talked at a very theoretical level about how J2EE patterns can help simplify complex web applications. We’ve also talked about the software design principles that underlie J2EE patterns. With that foundation in place, let’s get our feet wet by talking about a few of the simpler J2EE patterns. All three of the patterns we’re about to discuss share the goal of making remote model components manageable.

A Fable: The Beer App Grows

Once upon a time there was a small dot com that had a website that offered home brewing recipes, advice, ingredients and supplies for beer aficionados. Being a small company (with big plans), they had only one production server to support the site, but they had created two separate software development teams to grow the application. The first team, known as the “Web Designers” focused their attentions on the view components of the system. The second team, known as the “Business Team” focused on the controller components (Rachel’s focus), and the model components (Kim’s area).

image with no caption
image with no caption
image with no caption

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required