Mock Exam Question from HFB page 291. 2. Which capabilities are found in an entity bean's remote component interface? A. creating new entity objects B. finding existing entity objects C. removing existing entity objects D. executing a home business method E. retrieving the EJBMetaData interface
Answer is C. How come component interface can be used to remove entity beans? EJBObject has remove() method for session beans only. You find remove(handle) & remove(primarykey) methods in EJBHome. If it's true how client will call remove for entity bean.. give me example like e.g. Cart.remove(); where cart is remote component interface.