Container - Functions, Operations - Applets

Q.  In Servlet Terminology what provides runtime environment for JavaEE (j2ee) applications. It performs many operations that are given below:

1. Life Cycle Management
2. Multithreaded support
3. Object Pooling
4. Security etc.

- Published on 19 Oct 15

a. Server
b. Webserver
c. Container
d. Application Server

ANSWER: Container
 

    Discussion

  • Nirja Shah   -Posted on 15 Dec 15
    Container
    - It provides runtime environment for JavaEE (j2ee) applications.
    It performs many operations that are given below:
    1. Life Cycle Management
    2. Multithreaded support
    3. Object Pooling
    4. Security etc.

    Server
    - It is a running program or software that provides services.
    - There are two types of servers:
    1. Web Server
    2. Application Server

    Web Server
    - Web server contains only web or servlet container. It can be used for servlet, jsp, struts, jsf etc. It can't be used for EJB.
    Example of Web Servers are: Apache Tomcat and Resin.

    Application Server
    - Application server contains Web and EJB containers. It can be used for servlet, jsp, struts, jsf, ejb etc.
    - Example of Application Servers are:
    1. JBoss Open-source server from JBoss community.
    2. Glassfish provided by Sun Microsystem. Now acquired by Oracle.
    3. Weblogic provided by Oracle. It more secured.
    4. Websphere provided by IBM.

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)