*
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Conditions for passivating a stateful bean