O'Reilly logo

Struts Kick Start by Kevin Bedell, James Turner

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

Chapter 9. Model Components: Modeling the Business

IN THIS CHAPTER

The model is the least tightly defined piece of the Struts MVC architecture, and for good reason. Models, by definition, are used to control access to the tangled world of business logic—all the stuff that isn’t display or control flow, but comprises the actual mechanisms of what happens underneath.

Because of this, the model can be composed of just about anything at all. For example, it may be made up of any or all of the following:

  • A JDOM parser talking to an XML file

  • A JNDI implementation communicating with an LDAP server

  • An EJB stub communicating to an EJB server

  • A SOAP client communicating with a remote Web service ...

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