This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Conditions for passivating a stateful bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Conditions for passivating a stateful bean" Watch "Conditions for passivating a stateful bean" New topic
Author

Conditions for passivating a stateful bean

Prajakta Acharya
Ranch Hand

Joined: Nov 08, 2012
Posts: 138

Hi,

I happened to read following statement with reference to stateful session bean passivation.

"A container must not passivate a stateful session bean with an extended persistence context".

Can anyone explain me what it means? Also it would be helpful if "extended persistence context" can be explained first since I have no clue.


Regards,
Prajakta
Prajakta Acharya
Ranch Hand

Joined: Nov 08, 2012
Posts: 138

Guys any thoughts on this?
gurpeet singh
Ranch Hand

Joined: Apr 04, 2012
Posts: 924
    
    1

Prajakta extended persistence context is related to JPA. persistence context in jpa means the entity manager and the persistence unit associated with entity manager. for ejb certification you need not worry about jpa parts.
Prajakta Acharya
Ranch Hand

Joined: Nov 08, 2012
Posts: 138

Ok...thanks for your reply.
 
Don't get me started about those stupid light bulbs.
 
subject: Conditions for passivating a stateful bean