O'Reilly logo

J2EE™ Applications and BEA™ WebLogic Server™ by Sandra L. Emerson, Rob Woollen, Michael Girdley

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

Rationale for Entity EJBs

In a multi-tier e-commerce application, back-end persistence is provided by one or more databases. The Web engine uses HTML for static content, and servlets and JSPs for dynamic presentation logic. EJBs provide the business logic between the Web tier and the database.

As described in Chapter 8, session beans can take advantage of container services such as transactions, security, and concurrency. Although session beans do not provide any direct persistence support, they often include Java Database Connectivity (JDBC) code that accesses persistent stores.

However, session beans cannot directly represent persistent data. Java is an object-oriented language, but databases store data relationally, as rows in tables. Session ...

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