This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Difference between Enterprise and simple Web app

 
Vishwanath Balaji
Greenhorn
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to understand the exact difference between an "Enterprise applicaton" and a "Simple Web application". I could not get enough info on the net.
As per my understanding:
  • J2EE Enterprise application involves several web applications which are inter-dependent and work as a whole.

  • (In short it is a J2EE application which has multiple WARs).
  • Simple J2EE Web application contains the deployment of a single independent WAR.



  • Please put some comments on this.
     
    Kuppusamy Venkatasubramanian
    Ranch Hand
    Posts: 91
    • 0
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Hi,

    An enterprise application will contain enterprise beans(session/entity beans) and will run in a J2EE Container which provides transaction and security services to the beans and it will be named as .ear file. Whereas a web appliaction executes in a web-container like tomcat, contains servlets/jsps alone and named with an extension of .war.

    SAM..
     
    Satish Chandra
    Greenhorn
    Posts: 1
    • 0
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Hi,

    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.
    Eg : Bea Weblogic, IBM WebSphere, Oracle IAS, JBOSS etc.

    Web application runs in web container. This containers won't have special fetaures like transaction, JMS etc..
    Eg : Tomcat,JavaWebserver


    Satish
     
    Vishwanath Balaji
    Greenhorn
    Posts: 19
    • 0
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    This is helpful.
     
    Umesh Adtani
    Greenhorn
    Posts: 5
    • 0
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Also from high level standpoint, enterprise application is usually divided into more than one tiers, not just 'one container' and 'browser'. The business services etc stuff lives in it's own container across more than one physical boxes potientially. The services that look up these business services could be deployed and running on seperate boxes. The whole infrastructure that keeps various tiers running is usually distributed all over the physical boxes.

    A simple web application mainly has a server side container and thats pretty much it. JSP's HTMLs, Servlets, css everything packaged on a box is a typical small web-application. You could run this simple app on multiple boxes but still it can't be called enterprize app because logical architecture of the app still remains same - a server side container responding to browser requests. You could call backend database a 'tier' but still it doesn't have that largely distributed nature of services running under different tiers of the infrastructure.
     
    Vishwanath Balaji
    Greenhorn
    Posts: 19
    • 0
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Hi Umesh,

    You mean EJB container may be a distributed one ?
    Could you please elaborate this ?
     
    I agree. Here's the link: http://aspose.com/file-tools
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic