en/java/javase/11/docs/api/java.base/java/lang/annotation/RetentionPolicy.html?is-external=true#RUNTIME" title="class or interface in java.lang.annotation" class="externalLink">RUNTIME</a>)
public @interface <span class="memberNameLabel">EJB</span></pre>
<div class="block">Indicates a dependency on the local, no-interface, or remote view of an Enterprise Bean.
 <p>
 Either the <code>beanName</code> or the <code>lookup</code> element can be used to resolve the enterprise bean
 dependency to its target sessio