EJB to JSP Integration Tool

In order to easily access Enterprise JavaBeans within a JavaServer Page, you can use the EJB to JSP integration tool provided with WebLogic Server. As you have learned over the last four days, accessing EJBs from an EJB client application is an elaborate task. You must first create a JNDI Context object and then look up the bean's home interface object in the naming service using the JNDI Context object in the client application. After obtaining the reference to the home interface object, the client application invokes the create() methods to obtain the bean's remote interface object. This remote interface object is then used to invoke the EJB's business methods.

If you need to access an EJB from within a JSP, you ...

Get Sams Teach Yourself BEA WebLogic Server 7.0™ in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.