O'Reilly logo

Applied Enterprise JavaBeans™ Technology by Kevin Boone

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

17.2. JSP/Servlet-EJB connectivity

A JSP or servlet can locate and call methods on an EJB in a very similar manner to that used by a standalone client. However, there are a few subtleties of which the developer should be aware. In general, the implementation of the servlet or JSP will depend to a certain extent on whether the Web container and the EJB container are part of an integrated J2EE-compliant application server, or essentially separate systems. This distinction can lead to a slight loss of portability, which the developer may want to deal with. In this section, we will discuss connectivity only within the confines of a single application server environment, while the issues of integrating disparate products will be dealt with later ...

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