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

Beginning EJB 3 Application Development: out-of-container and in-container

 
Gian Franco
blacksmith
Ranch Hand
Posts: 979
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

Could you explain the various implications of
"out-of-container" and "in-container" persistence?

Cheers,

Gian
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, if you are in the container you get all the nice services provided for your. Out of the container, you will need to include them. For instance, JPA requires a Connection Pool, so outside the container you will need to include a Connection Pool API, say for instance C3PO. Same thing with Transactions.

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic