aspose file tools
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 The Software Craftsman this week in the Agile 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: 9763


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.
I agree. Here's the link:
subject: EntityBean instance's life