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
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EntityBean instance Watch "EntityBean instance New topic
Author

EntityBean instance's life

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9622
    
    2

Guys,

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: http://aspose.com/file-tools
 
subject: EntityBean instance's life