what is the difference between web and enterprise application?
Whereas a web appliaction executes in a web-container like tomcat, contains servlets/jsps alone and named with an extension of . war. An Enterprise application runs in a Special container called enterprise container which have special features like JMS,Transaction etc. This containers can also handles web application.