aspose file tools*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes BMP - ejbRemove Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "BMP - ejbRemove" Watch "BMP - ejbRemove" New topic
Author

BMP - ejbRemove

Ranganathan Kaliyur Mannar
Bartender

Joined: Oct 16, 2003
Posts: 1089
    
  10

Hello,
I implemented a BMP bean on JBoss. While calling the remove method on the
bean, I got 2 different sequences(through SOPs) :

sequence A :

1.setEntityContext
2.ejbRemove

or

sequence B :

1.setEntityContext
2.ejbFindByPrimaryLey
3.setEntityContext
4.ejbActivate
5.ejbLoad
5.ejbRemove

sequence A is clear and is expected while calling remove. But sequence B is confusing. And I wasn't able to find out under what circumstances, both these sequences happend. Please explain.

Thanks,
Ranga.


Ranga.
SCJP 1.4, OCMJEA/SCEA 5.0.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: BMP - ejbRemove