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

J2EE and Struts

So, how does J2EE fit into the Struts picture? Apart from the fact that a Struts-based application will always be runnable on a J2EE platform because it contains all of the request components, there’s a bigger picture.

Assume for the moment that you’re on a project large and complex enough to require technologies like EJB. Struts provides a natural front end to an EJB application.

EJB applications divide things into the business logic, which lives on the EJB server, and the stubs, which are used by applications to gain access to the backend code.

In a Struts-fronted EJB application, the model piece of the MVC pattern would be EJB client objects. The Struts standard already coerces developers into dividing their application ...

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