avase/8/docs/api/java/rmi/RemoteException.html?is-external=true" title="class or interface in java.rmi">RemoteException</a></pre>
<div class="block">Obtain the primary key of the enterprise bean object. 

 <p> This method can be called on an entity bean. An attempt to invoke
 this method on a session bean will result in RemoteException.

 <p><b>Note:</b> Support for entity beans is optional as of EJB 3.2.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The enterprise bean object's primary 