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 and other Java EE Technologies and the fly likes EJB Lifecycle Question 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 » Java » EJB and other Java EE Technologies
Bookmark "EJB Lifecycle Question" Watch "EJB Lifecycle Question" New topic
Author

EJB Lifecycle Question

Darryl A. J. Staflund
Ranch Hand

Joined: Oct 06, 2002
Posts: 303
Hi there,
If I have a large number of CMP 2.x entity beans that:
a. Have various CMR relationships established between them.
b. Have various cascade delete relationships established between them.
does the ejbRemove () method get called on every entity bean involved in the cascade delete even though they are not currently loaded in the container?
Thanks,
Darryl
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
As I understand the spec, yes.
Kyle


Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
 
 
subject: EJB Lifecycle Question
 
Similar Threads
ejb 2.0 entity beans enhancements in jboss 4.0
how cascade delete works?
Question about design
Hibernate and database physical design
hibernate delete performance