rows <a href="../../jakarta/ejb/RemoveException.html" title="class in jakarta.ejb">RemoveException</a>,
            <a href="../../jakarta/ejb/EJBException.html" title="class in jakarta.ejb">EJBException</a></pre>
<div class="block">Remove an enterprise bean object identified by its primary key.

 <p>
 This method can only be used by local clients of an entity bean. An attempt to call this method on a session bean
 will result in a RemoveException.

 <p>
 <b>Note:</b> Support for entity beans is optional as