New Apache Tomcat Branch 5.5 Released 29
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..."
Tomcat is amazing (Score:5, Interesting)
FYI Tomcat is the webserver in OS X Server [apple.com] along with apache.
Re:Tomcat is amazing (Score:2, Insightful)
I like Tomcat and have developed several apps with it, however simple and robust are not terms I would grace it with.
Pedantic (Score:5, Informative)
Re:Pedantic (Score:2)
Re:Pedantic (Score:2)
eclipse is an sdk? (Score:2)
Can someone clarify this???
Re:eclipse is an sdk? (Score:5, Informative)
They are moving to eclipe's java development tools which include a compiler which is faster than the standard Sun compiler (at the moment I presume). The compiler is used for compiling JSPs.
I RTFA but... (Score:2)
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.
Re:I RTFA but... (Score:2)
Again, compiling is faster, not runtime.
Re:eclipse is an sdk? (Score:2)
Change is for JSP compilation ... (Score:5, Informative)
This only effects JSP (re)compilation.
This could have been made more clear by the submitter. But that wouldn't do, would it?
Re:Change is for JSP compilation ... (Score:5, Interesting)
JSPs can be easily precompiled, or just hit by the developer before linking them on the site, to force compilation. Even if compilation is faster than it was, that doesn't mean it's as fast as when the user hits a page that's already been compiled.
Either way, Tomcat is a great app -- funny that it started as just a simple "reference" implementation of the servlet/JSP APIs....
Re:Change is for JSP compilation ... (Score:1)
Re:Change is for JSP compilation ... (Score:2)
That's a bigger "if" than you might think. I'm not ruling it out until someone checks in with some stats... but most Java optimizations happen at runtime (since that's where it's turned into actual machine code).
Obviously most Java compilers do dead code removal, constant folding, inlining, etc., but from what I understand there aren't any huge differences, and javac -O is pretty good.
Anyone with more info?
Re:Change is for JSP compilation ... (Score:3, Informative)
This is good news. It was difficult to bundle Tomcat previously because you Sun does not allow you to redistribute the SDK, but you could redistribute pieces of the JDK like javac, or tools.jar (I think they improved this situation in 1.4.2).
You would need to copy tools.jar or javac from the SDK to the JRE, repackage the JRE, modify the Tomcat startup script to use tools.jar and not depend on bin/jdb (which was not Redistributable).
Erg...
Re:Change is for JSP compilation ... (Score:3, Informative)
It has always been a one line change in server.xml to configure Tomcat to use jikes instead of tools.jar for compiling JSPs. I wouldn't call that difficult.
Re:Change is for JSP compilation ... (Score:2)
Re:Change is for JSP compilation ... (Score:2)
amoung other things (Score:1, Informative)
Will engineers at Sun be pushed a little bit (Score:2)
Re:Will engineers at Sun be pushed a little bit (Score:2)
NOT Stable yet. (Score:1)
It's important to note that:
From http://jakarta.apache.org/site/news/news-2004-2ndH alf.html#20040831.1 [apache.org]
Its not taking Sun out of the equation (Score:2)
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 th