-
The server and containers are as follows:
Java EE server: The runtime portion of a Java EE product. A Java EE server provides EJB and web containers.
EJB container: Manages the execution of enterprise beans for Java EE applications. Enterprise beans and their container run on the Java EE server.
Web container: Manages the execution of web pages, servlets, and some EJB components for Java EE applications. Web components and their container run on the Java EE server.
Application client container: Manages the execution of application client components. Application clients and their container run on the client.
Applet container: Manages the execution of applets. Consists of a web browser and a Java Plug-in running on the client together.
Fonte: https://docs.oracle.com/javaee/7/tutorial/overview004.htm#BNABQ
-
Os seguintes tipos de containers existem e executam no servidor J2EE:
- Container EJB: um tal container para acolher algumas ou todas as Enterprise Beans (EJBs) de uma aplicação
- Web container: um tal container para acolher algumas ou todas as JSPs e servlets de uma aplicação
Os seguintes tipos de containers existem e executam na máquina cliente:
- Application Client Container: para executar uma aplicação "console"
fonte: http://www.dsc.ufcg.edu.br/~jacques/cursos/j2ee/html/intro/j2ee-1.htm
-
d-
A Web Tier pode ser em Servlet Containers, ~mini~ servidores de aplicação mais leves.
application client container -
The standalone example application demonstrates how to create an instance of the embedded enterprise bean container in a JUnit test class and call a session bean business method. Testing the business methods of an enterprise bean in a unit test allows developers to exercise the business logic of an application separately from the other application layers, such as the presentation layer, and without having to deploy the application to a Java EE server (exclui EJB container e web container). The standalone example has two main components: StandaloneBean, a stateless session bean, and StandaloneBeanTest, a JUnit test class that acts as a client to StandaloneBean using the embedded container.