difference between the Server & container?

Posted on 2004-11-16
Last Modified: 2013-12-10
what is the difference between the Server & container?
Question by:she1
    LVL 13

    Accepted Solution

    Container is the run time enviroment for example to run EJB u need EJB container which is the EJB runtime, server is (container(s) + tools to manage one or more container), to deploy ur EJB you need the Server to deloy ur EJB to the EJB container
    LVL 11

    Expert Comment

    Container is in the server. In J2EE there are 2 type of containers. One is Web Component Container that contains JSP/Servlet. Another one is Business Component Container that contains EJB Component.

    It is also the roles in EJB specification. In EJB, here are roles in EJB

    -Server Provider
    -Container Provider
    -Bean Developer
    -Application Assembler

    Normally, Server Provider and Container Provider is the same vendor. Such as WebLogic, WebSphere, JBoss

    Author Comment

    thanks lot for all your comments, there might be some minor difference between the Sever and container as petmagdy suggest. but we usually
    does't mean any difference when talk about them.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    -Xmx and -Xms are the two JVM options often used to tune JVM heap size.   Here are some common mistakes made when using them:   Assume BigApp is a java class file for the below examples. 1.         Missing m, M, g or G at the end …
    This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now