Two Laptop Bag*
The moose likes EJB and other Java EE Technologies and the fly likes EntityBean instance's life Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EntityBean instance Watch "EntityBean instance New topic

EntityBean instance's life

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9345


When we call remove() on an Entity Bean, the real entity in the database gets deleted or removed and the Entity Bean that represented this row in the database goes to the bean pool. So does this mean that the state of this particular bean instance gets initialized or reset and then sent to the pool?

SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Kalyan Anand
Ranch Hand

Joined: Feb 07, 2007
Posts: 194
Yes. An object in the pool doesn't represent any entity in the database.
jQuery in Action, 2nd edition
subject: EntityBean instance's life
Similar Threads
entity bean pool
question #8 p293
4 questions about stateful session bean,...
Entity Bean Updates
Couple of questions