• Post Reply Bookmark Topic Watch Topic
  • New Topic

difference between EJB server and EJB container  RSS feed

 
james edwin
Ranch Hand
Posts: 393
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
can anyone explain the difference between between EJB server and EJB container?I tried to find in archives,but i was not able to find anything good.
I know these two jargons,which we can use interchangebly.But if some one ask,what's the difference ?then what should we say ?
can some one throw some light on above ?
 
Arun Boraiah
Ranch Hand
Posts: 233
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
EJB Server : Is General term server is used in context of servicing request. So when you say EJB server it means that it is capable of executing EJB�s for a given user request.
EJB Container: A container is a software piece residing inside a server which help the server to execute the EJB�s and apply standard rule of execution and help to achieve the life cycle of the bean.
 
james edwin
Ranch Hand
Posts: 393
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Arun,
See EJB container manages life cycle of EJB and provides all the services for EJB like transaction,secuirty,state managment. That means utlimately Container is doing everything ...
then why we need two jargons like EJB container and EJB server,when the work done is same ?
 
Chakradhar S.Vangara
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi james,
EJBContainer and EJBServer responsibilites are
clear like:
The container is responsible for
life cycle management, instance pooling, persistence management,resource management,state management..
whereas the EJBServer is reponsible for low-level support for an EJB and is reponsible for
Process management,Thread management,IOManagement,
Buffer management..
bye
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have seen some authors use the term EJBServer in place of App Server which is really wrong. EJBContainer is a part of the AppServer. When in doubt, I always treat EJBServer as the App Server and EJB Container as the one that managers lifecycle, bean instance pooling etc.
 
james edwin
Ranch Hand
Posts: 393
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Chakradhar Sharma,
Thanks for replying.Can you just please mention source of your reply like it's written in which book or site,the reponsablities of EJB server are thread pooling,process,buffer etc.Here I am not saying you are not correct,but i want to show this link to some one.
Thanks all for replying.
Regards,
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
James, please read the EJB specifications on Sun's website.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!