We downloaded Tomcat 7.0.27 and TomEE 1.0.0 and did a quick comparison. Here are the differences we found. The distributions being compared are apache-tomcat-7.0.27.tar.gz and apache-tomee-1.0.0-webprofile.tar.gz.
1. Tomcat is 7,467 KB. TomEE is 27,702 KB.
2. TomEE catalina.bat/catalina.sh has added the OpenEJB javaagent.
3. TomEE server.xml has the extra listener org.apache.tomee.catalina.ServerListener.
4. Tomcat has a lot more MIME mappings. We are not sure why. Could this simply have been overlooked?
5. TomEE has removed
6. TomEE has added
7. TomEE has added the following libraries. We suggest you review these new libaries to make sure it doesn’t create conflicts with your existing application.
Here’s the screenshot of the differences using Araxis Merge.
This Post Has 3 Comments
Very excellent post! The mime types is an oversight, thanks for pointing that out!
Fully agree on #6. Library conflicts are likely to be the most common issue. Slf4j is probably going to be the most common offender. In the past people had issues with asm conflicts so we repackaged that code as org.apache.xbean.asm via the maven shade plugin. We can do that for slf4j or any other small library. It does complicate the build a bit, so we only do that once people report issues.
So note to all readers, if you do have a library conflict, please let us know!
I can’t seem to find Apache CXF from the list of jars mentioned above
Just stumbled upon this. Neat look at the changes. I would love to see an update to at least TomEE 1.7.1, even if 1.7.2 is just around the corner.
The removed jar files are only due to the javaee-api jar containing the same provided classes.