Don't think about it in terms of containers. Just think about it in terms of the relationship between your
application components.It's very typical for web components to be packaged within the same
application as EJBs that they use.If your web components access a Local EJB interface you should
always package them in the same application as those EJBs.
--ken
An application server contains a Web Container and an EJB Container,
A typical EAR contains an archive file for the Web Container and an archive for the EJB Container.
The web archive is deployed in the Web Container.
The EJB archive is deployed in the EJB Container.
This all happens in the application server.