Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes difference between Ejb Server & EJB Container? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "difference between Ejb Server & EJB Container?" Watch "difference between Ejb Server & EJB Container?" New topic

difference between Ejb Server & EJB Container?


Joined: Aug 07, 2008
Posts: 4
Is any difference between Ejb Server & EJB Container?
Marco Ehrentreich
best scout

Joined: Mar 07, 2007
Posts: 1294


I don't think they both are clear and distinct defintions.

Usually an EJB container is only a part of a full J2EE enterprise application server which handles the EJB parts of an enterprise application. Some people may use "EJB server" synonymously for either an EJB container or and application server.

On the other hand there are real standalone EJB servers like OpenEJB which can be used for example to add EJB functionality to pure web containers like Tomcat or Jetty.

I hope this makes it somewhat clearer. But don't worry too much about it because confusingly there are often different names for the same things

Remko Strating
Ranch Hand

Joined: Dec 28, 2006
Posts: 893
Thanks for the tip of using OpenEJB with Tomcat. I will try this.

Remko (My website)
SCJP 1.5, SCWCD 1.4, SCDJWS 1.4, SCBCD 1.5, ITIL(Manager), Prince2(Practitioner), Reading/ gaining experience for SCEA,
Duc Vo
Ranch Hand

Joined: Nov 20, 2008
Posts: 254
Originally posted by RR_RN:
Is any difference between Ejb Server & EJB Container?

I thought the difference is that there is no such thing as EJB Server only EJB Container. Where EJB Container is normally a component of a Java Enterprise Application Server.

“Everything should be as simple as it is, but not simpler.” Albert Einstein
Christophe Verré

Joined: Nov 24, 2005
Posts: 14688

you've already been warned twice about the Naming Policy. Please check your private messages.

[My Blog]
All roads lead to JavaRanch
I agree. Here's the link:
subject: difference between Ejb Server & EJB Container?
It's not a secret anymore!