New Apache Tomcat Branch 5.5 Released
darthcamaro writes "A good week for Apache Tomcat users - an incremental update to the latest stable version - 5.028 - and a new branch - Apache Tomcat 5.5. According to a story running on internetnews.com, the most notable features include the move to Eclipse from SUN's SDK, which according to one Tomcat user quoted in the story means that Tomcat will be faster than ever before. It's kinda funny that the way to make Java run faster is to take Sun out of the equation..."
I've been using it since around 99 or 2000 (bad memory) while trying to learn how to use jsp to migrate our platform from a purely servlet/corba based architecture (very complicated). At the time I was amazed at the simplicity of using such a robust tool. Since that time I have become an even larger fan.
FYI Tomcat is the webserver in OS X Server along with apache.
The two main changes are (1) making sure it works with the upcoming JDK 5.0 (formerly 1.5) release and (2) shipping the Eclipse compiler *for compiling JSPs*. Neither of these moves are strikingly fundamental, although the second one is kind of interesting.
"Oh, I hope he doesn't give us halyatchkies," said Heinrich.
"the most notable features include the move to Eclipse from SUN's SDK"
Can someone clarify this???
Seems they now default to using the java compiler shipped with Eclipse instead of the com.sun.* compiler which 'javac' uses. So, no tools.jar dependency -- can run on straight sun JRE, not SDK.
This only effects JSP (re)compilation.
This could have been made more clear by the submitter. But that wouldn't do, would it?
the stock javac shipped with the JDK has had some issues. In Tomcat 4, they switched to use ANT to create a separate process, so that it wouldn't cause a memory leak. the earlier version use javac within the same JVM, so it would cause a memory leak. JDT is a solid tool and works better, so it makes a lot of sense.
to work harder?
There is a spark in every single flame bait point.
Cause that way, you no longer require a whole JDK. At 95M for the JDK vs. 60 for the JRE (1.4.2_05 on linux), that's some space savings.
Now is that faster as in .java->.class time or faster in the sense that bytecode (aka "binaries") are faster (eg. more effeceint better optimized code path*)?
*I have no idea how much the Java standard limits this or not.
Your CPU is not doing anything else, at least do something.
It's important to note that:
From http://jakarta.apache.org/site/news/news-2004-2ndThe Apache Tomcat folks and Sun work very closely together. I wonder if Sun is happy about Tomcat using Eclipse tools?
It's kinda funny that the way to make Java run faster is to take Sun out of the equation...
The author should have read the release notes from tomcat. Its not taking Sun out of the equation - its exactly the reverse: To quote:
"Tomcat 5.5 is designed to run on J2SE 5.0 and later"
There is nothing anti-Sun about this at all. What they have done is to include the Eclipse JDT compiler, to speed the compilation of JSP pages, but tomcat can also use the Javac in any JDK you have installed.
The bundling of the JDT compiler allows Tomcat to be used if you only have a Java Runtime installed, and not the full developer's kit.
So, this is nothing about dropping Sun, and nothing about making Java faster. How wrong can an article be?