Sunday, November 24, 2013

Glassfish or Tomcat for your Production Project ?

This post is dedicated to those new in J2EE especially in JSF who are certainly wondering what will their choice of web application to deploy maybe their first ever enterprise web application on production. From my experience to make your life easier, Glassfish is the way to go, and I may mention that I have nothing against Uncle Tommy. Glassfish offers everything from development to the administration out of the box and free to you to smoothly deploy your application.
Such as :
  •  Command line utilities
  • Easy to use administration GUI
  • Multiple security features
  • Clustering features
  • Very good documentation
  • Stability
 For more details information feels free to google Glassfish Vs Tomcat to hear what other folks out there are gossiping about.
The following paragraph is taken from Chapter  3 of the Book entitled: " Java EE 6 Cookbook for Securing, Tuning, and Extending Enterprise Applications" by Mick Knutson.

   GlassFish is a complete Java EE application server, in contrast to a Servlet container that would provide the Java EE web profile capabilities. GlassFish has an open source and supported version, and is described by the java.net project as:
   An open source, production-ready, Java EE-compatible application server. GlassFish version 3 provides a small footprint, fully-featured implementation of Java EE 6.
The Java EE 6 platform significantly improves developer productivity, introduces the lightweight Web Profile for Web-centric applications, and includes the latest versions of technologies such as JAX-RS 1.1, JavaServer Faces (JSF) 2.0, Enterprise JavaBeans (EJB) 3.1, Java Persistence (JPA) 2.0, Context and Dependency Injection (CDI) 1.0, and more. GlassFish is a Java EE open source application server.
    Apache Tomcat is maintained by the Apache foundation and described as:
Apache Tomcat is an open source software implementation of the Java Servlet
and JavaServer Pages technologies. The Java Servlet and JavaServer Pages
specifications are developed under the Java Community Process.
Tomcat is an excellent choice for projects that do not require enterprise services from Java EE.



No comments:

Post a Comment