4>
<pre>public abstract&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;beanName</pre>
<div class="block">The <code>beanName</code> element references the value of the <code>name</code> element of the <code>Stateful</code>
 or <code>Stateless</code> annotation, whether defaulted or explicit. If the deployment descriptor was used to define
 the name of the bean, the <code>beanName</code> element references