A container consists of a set of Java classes that implement the Java EE specification. The role of the container is to provide the facilities for executing Java EE components.
There are three types of containers:
EJB container in which Enterprise JavaBeans are deployed and run
Web container for JSPs and servlets
Client container