O'Reilly logo

Programming Jakarta Struts, Second Edition by Chuck Cavaness

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

Struts Model Components

There are several different ways to look at what constitutes a model for Struts. The lines between business and presentation objects can get quite blurry when dealing with web applications—one application’s business objects are another’s data transfer objects (DTOs).

It’s important to keep the business objects separate from the presentation so that the application is not tightly coupled to one type of presentation. It’s likely that the look and feel of a web site will change over time. Studies show that the freshness of a web site’s appearance helps to attract new customers and keep existing customers coming back. This may not be as true in the business-to-business (B2B) world, but it’s definitely true for business-to-consumer (B2C) applications, which make up the majority of the web applications used today.

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