File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes app'server and container Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "app Watch "app New topic

app'server and container

eswar kumar
Ranch Hand

Joined: Oct 20, 2002
Posts: 98
what is the difference between an application server and container?
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
Which container? EJB container? Web container? Cargo container?
Assuming that this "container" has something to do with J2EE, the container is part of the application server.

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Edelweiss Cierniak

Joined: Mar 31, 2003
Posts: 15
application server = web container + EJB container
Ashish Pagare
Ranch Hand

Joined: Oct 14, 2003
Posts: 101
In context of EJB, there is a very thin line between container and application server.
Its left to the product vendors for further classifying the two.
Vishwa Kumba
Ranch Hand

Joined: Aug 27, 2003
Posts: 1066
Originally posted by eswar kumar:
what is the difference between an application server and container?

EJB Container: is the environment in which EJBs are executed.
Application Server: usually contains a Web Server, EJB Container, Web Container + a few other things...
Usually a J2EE Application Server has a EJB container also. So we could write, deploy and execute EJBs.
I suggest you pick up a good book on EJBs and it would give you more information...
[ December 22, 2003: Message edited by: Vish Kumar ]
I agree. Here's the link:
subject: app'server and container
It's not a secret anymore!