|
Orion EJB Taglibrary Deployment 1. Download the EJB Taglib here. 2. Put the EJB Taglib in your web applications WEB-INF/lib directory. 3. Reference the EJB Taglib in your web applications configuration file (web.xml) like this:
In your JSP, reference the taglib like this:
Overview This tag-library contains general actions for interfacing with EJBs. It is free to use and redistribute. <ejb:useHome id="String" type="String" location="String" /> Looks up a home id - the name to use for referencing the home interface. Accessable from start of tag to end of page Example usage:
<ejb:useBean id="String" type="String" { value="<%=Object%>" } { scope="String" } > Looks up and narrows a bean. id - - the variable to use for referencing the bean Example usage:
<ejb:createBean instance="<%=Object%>" /> Creates a bean instance for useBean to use. Must be used in the context of a useBean Tag. instance - a created EJBObject instance Example usage:
<ejb:iterate id="String" type="String" collection="<%=Collection%>" {max="<%=Integer%>"} > Iterates over the finder results from a home id - the variable to use for referencing the bean. Accessable inside the Tag Example usage:
Suggestions can be sent to info@orionserver.com. |