To run web application web server is required.
Web server can provide support only for web related technology like Servlet, Jsp, HTML.
To run any type of enterprise application, application server is required.
Application server can provide support for any type of technology from J2EE.
So J2EE compatible server is application server.
Application server is more superior because it support technology from J2EE as well as web technology.