This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 1076
    
  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
 
Similar Threads
EJB Life Cycle
BMP entity bean - create
Mock Exam Question
BMP - findByPrimaryKey
releasing resources