aspose 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 Java 8 in Action this week in the Java 8 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: 975
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: 17249
    
    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
 
Don't get me started about those stupid light bulbs.
 
subject: Beginning EJB 3 Application Development: out-of-container and in-container
 
Similar Threads
problem with EL
Testing Java Servlets
When init() method is called?
WA #1.....word association
HFSJ - directory name "htdocs" instead of "webapps"