I have been doing some research about the difference between Java web application and enterprise application and what I have found is that they have little bit similar architecture.
For example Enterprise Application have Client -, Presentation -, Business Logic - and Data tier.
Client Tier can be Java clients, browser-based clients and mobile clients.
Presentation Tier can be JavaBeans components, servlets, portals and JSP components.
In Business Logic Tier you can have servers, web services (SOAP, Restful and others) and MDB components.
In Data Tier you can have DBMS, LDAP and Data Feed.
Now if we compare those components to web application you can use them without creating Java Enterprise application. For example I can use many different technologies to implement my web application such as Hibernate, Maven, JSP or JSF, Databases, Servlets, JavaBeans and etc.
My biggest question is what is the major difference between Java Enterprise application and Web application? Why I would use Java Enterprise application?