Java EE application servers provide all the features of tomcat, so why use tomcat (instead of glassfish for example as it is the official one)?
Especially when Java EE features are needed like JPA, JAX-RS, JSF, and therefore more libraries have to be packaged with the application, while a EE-compliant application server would have provided it out of the box?
The solution was clear, Tomcat needed to be Java EE certified. The Web Profile was created to allow for exactly that. In 2011 we (Apache) started doing the work to certify Apache Tomcat. Certification reached and announced at JavaOne 2011 as Apache TomEE.
Apache Tomcat server: Apache Tomcat is a web container. It allows the users to run Servlet and JAVA Server Pages that are based on the web-applications. It can be used as the HTTP server. The performance of the Tomcat server is not as good as the designated web server.
Tomcat users will need to deploy a JDK and properly configure the JAVA_HOME variable to run. Both Java application servers are open source and are served by the ASF, but only Tomcat requires the additional resources and requirements that enterprises will need to manage.
Web app deployment made easy Apache Tomcat is Open-sourced, and it's free to use. Multiple applications can run at the same time without any issues. Apache Tomcat Has excellent built-in security features and provided a rich API sets.
The question that was in our mind and the entire reason we created TomEE was, why should people have to choose?
After 10 years it still comes up and people argue against each other as to which is better and why.
Here's the math in short form:
Great, we're half-way there, but people are still arguing "Tomcat or JavaEE". The solution was clear, Tomcat needed to be Java EE certified. The Web Profile was created to allow for exactly that.
Awesome, now we are there.
All this happened in the last 2 years. Things have changed.
If you want Tomcat and JavaEE, you can have it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With