The EJBLocalHome interface does have one remove method with Primary Key parameter. As you can recall primary key concept is associated with Entity beans only. But the matter of fact is that same EJBLocalHome interface is used for both Entity and session beans. Thus, you can call remove from EJBLocalHome on Entity beans, but attempt to call it on Session beans will result in EJBException
Amol PS. Reply Welcome.
It wasn't my idea to go to some crazy nightclub in the middle of nowhere. I just wanted to stay home and cuddle with this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!