This tag is used to initialise a bean that extends EjbClient with information about the JNDI context that should be used to bind to the EJB. The tag pulls this information out of the web applications configuration (held in web.xml)
This tag is used as follows:
<jee:initEjbClient name=”beanInstanceName”/>
name – The name of the bean to initialise. This bean must extend the EjbClient class.
The following code shows an example of using this tag:
<%@ taglib uri="jeenius" prefix="jee" %> <jsp:useBean id=”myBean” class=”example.MyBean”> <jee:initEjbClient name=”myBean”/> </jsp:useBean> <html> . . . </html>