This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Conditions for passivating a stateful bean

 
Prajakta Acharya
Ranch Hand
Posts: 138
Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Prajakta Acharya
Ranch Hand
Posts: 138
Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys any thoughts on this?
 
gurpeet singh
Ranch Hand
Posts: 924
1
Fedora Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 138
Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok...thanks for your reply.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic