A Web application is located on a central server and provides service to a variety of clients.
Web applications provide dynamic and interactive content to browser-based clients.
A Web container provides Web components with a naming context and life cycle management. Some Web servers may also provide more services, such as security, concurrency, transactions, and swapping to secondary storage. A Web server may work with an EJB server to provide such services. A Web server need not be located on the same machine as the EJB server. In some cases, a Web container may communicate with other Web containers.