WebLogic Server EJB to JSP Integration Tool

The WebLogic Server EJB to JSP integration tool enables you to execute EJB method calls without implementing an EJB client code within your JSP page. The integration tool generates a JSP tag library associated with each individual EJB. To invoke EJB methods within your JSP page, you need only declare the tag library and implement the applicable JSP tag. For example, you would use our Global Auctions ItemEJB like so:

<% taglib uri="itemEJB.tld" prefix="itemEJB" %> (assumes uri registered in web.xml)
 //Invoking EJB Create
<itemEJB:home-create itemvalue="<%= iv %>" /> (assumes itemValue object--iv created and 
populated)

Compare that to the EJB client implementation shown here:

 ... ItemHome home; Hashtable ...

Get BEA WebLogic Server™ 8.1 Unleashed 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.