A web server, as per my understanding, has only a web container.
On the other hand, the
J2EE application server should have web container and the EJB container.
As far as the 2nd question goes: the services provide by the server to its container?
I think
the container provides service to the server: by properly processing the requests which has a dynamic response. The only thing done by the web server is to forward the specific requests to the container.