File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes Beginning EJB 3 Application Development: out-of-container and in-container Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Beginning EJB 3 Application Development: out-of-container and in-container" Watch "Beginning EJB 3 Application Development: out-of-container and in-container" New topic
Author

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

Gian Franco
blacksmith
Ranch Hand

Joined: Dec 16, 2003
Posts: 977
Hello,

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

Cheers,

Gian


"Eppur si muove!"
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17260
    
    6

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


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Beginning EJB 3 Application Development: out-of-container and in-container