O'Reilly logo

Seam Framework: Experience the Evolution of Java™ EE, Second Edition by Thomas Heute, Jacob Orshalick, Michael Juntao Yuan

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

4 Seam without EJB3

JBoss Seam was originally designed to be a framework on top of Java EE 5.0—to bridge the gap between JSF and EJB3. However, Seam is highly flexible and can stand on its own. In fact, Seam has no hard dependency on either JSF or EJB3. In Seam, any POJO with an @Name annotation can be turned into a managed component. We can build Seam applications solely from POJOs. Such applications can be deployed in any J2EE 1.4 application server, as well as in plain Tomcat servers.

In this chapter, we modify the betterjsf example to use a POJO instead of an EJB session bean to handle data access and business logic. The resulting example is hellojpa. POJOs are clearly simpler and require less runtime infrastructure than EJBs. ...

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