• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tomcat??????

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Why to host Tomcat (as a servlet container) within the J2EE application server
Is J2EE itself is not enough for doing all the task ?
Plz help me
Bye
 
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
J2EE is a specification to define how application servers should work. These servers attempt to be 'J2EE complient'. When you download J2EE from Sun, you also get the 'reference implementation', which is like a sample of many J2EE components in action, but is not meant to be used for production systems.
Tomcat is a free application server that implements the Servlet Engine subset of the J2EE functionality. Tomcat is a step closer what you need in a production system, but it is a matter of debate as to whether you should or not.
Hence what you get with J2EE is not enough. Tomcat is better, but some commercial products are better again.
Dave
 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
J2EE is a pure specification of Servlets/JSP's/EJB's etc. This specification tells you how to develop a Servlet (e.g. from which class to extend) and how e.g. to describe your web application in the web.xml.
To use your J2EE classes you need a container where your classes are run. When you have a look at some servlet container:
It handles the requests for HTTP/HTTPS, creates request,session objects etc. and calls the methods of the servlet engine.
Now there are some application server which did everything on their own
(AFAIK Websphere), but another solution is to use tomcat as servlet engine and only add an EJB container, JMS, Transaction Handling etc. to create a full J2EE Application server
Hope that gives you an idea.
 
linuss santoo
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank u Oliver
U'r answer helped me a lot
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic