• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Difference between server and container

 
Ranch Hand
Posts: 577
Tomcat Server Notepad Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Can anyone tell the difference between the server and container?

Thanks and Regards,
Narendranath
 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Container refers to the component that manages lifecycle of servelet/JSP or EJB. Server refers to the infrastructure which contains those containers.
For an example
JBOSS server is contained with an EJB container.
TOMCAT server is contained with servelet container/JSP engine and etc.
 
Naren Chivukula
Ranch Hand
Posts: 577
Tomcat Server Notepad Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for what u said. But EJB container and EJB server are synonymous I think. In that case can't we interchangebly use container and server?

Regards,
Narendranath
 
Mudi Appu
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The EJB server must provide one or more EJB containers. Hence EJB container and EJB server are NOT synonymous. Please correct me if I am wrong.
 
Ranch Hand
Posts: 190
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Kanishtha, thank you for the fruit for thought. Now I know what to say when asked of the same question.

About the synonymity, I wonder if it is valid if, (and only if) the server has only one container. Hmmm, debatable isn't it ? :roll:

Another frequent question is: Is the "hardware" server synonymous with the "software" server. E.g. I'd often been compelled to say that they were synonymous when a server box contains only one server application (e.g. http server) to clients that couldn't tell between a server box and a loudspeaker, let alone the servers we are talking about. Telling them the actual thing would be equivalent to forcing them to spend a night with Hannibal Lecter. It would sure scare them off. It'd nearly scared me off !

IT life is sprinkled with confusion and paradoxes, isn't it ?

Originally posted by kanishtha Kramalekhakha:
The EJB server must provide one or more EJB containers. Hence EJB container and EJB server are NOT synonymous. Please correct me if I am wrong.


[ April 19, 2005: Message edited by: Ken Loh ]
 
Naren Chivukula
Ranch Hand
Posts: 577
Tomcat Server Notepad Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As far as I what I read, EJB server and EJB container are synonymous.

Here is the piece of text taken from EJB by EdRoman

The server provider is the same as the container provider. Sun has not yet differentiated these (and they may never do so). We will use the terms EJB container and EJB server interchangeably in this book.
 
Mudi Appu
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OK. So as far as your world is hardly bound into that book EJB server and EJB container are synonymous for you. Enjoy your own world!
 
Evildoers! Eat my justice! And this tiny ad's justice too!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic