|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME)
@Target(value={TYPE,FIELD})
public static @interface SessionEJB3Control.EJBLookupEJBLookup specifies the target EJB's business interface for the EJB control using either the jndiName or ejbLink member.
If the ejbLink member is specified, an EJB Control in a web application would reference an EJB type using the fully qualified name of the control interface with the suffix "java". For example, a control of typecontrols.HelloEjbControl
would resolve the EJB using the following entry in web.xml:
<ejb-ref>
<ejb-ref-name>controls.HelloEjbControl.jcx</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<remote>ejbs.HelloBeanRemote</remote>
<ejb-link>ejbModule.jar#HelloBean</ejb-link>
</ejb-ref>
| Optional Element Summary | |
|---|---|
String |
ejbLink
Specifies the name of the target EJB using the application relative path to the EJB JAR. |
String |
jndiName
Specifies the JNDI name of the target EJB's business interface. |
public abstract String jndiName
public abstract String ejbLink
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||