Is it possible to cache JSP bytecode to avoid recompiles w/ Tomcat?

Posted by Computer Guru on Stack Overflow See other posts from Stack Overflow or by Computer Guru
Published on 2010-03-03T22:27:50Z Indexed on 2010/03/15 0:39 UTC
Read the original article Hit count: 341

Filed under:
|
|
|
|

Hi,

Is there any way of caching the bytecode for JSP webapps/ In particular, using Tomcat as the Java servlet? I'm getting really fed up of Tomcat taking up all the CPU for 10 minutes while it compiles 4 different webapps every time I restart it....

I'm already using Jikes to "speed up" the compiles, but it's really killing me. The code does not change unless the webapp is upgraded (very rarely), and I cannot believe that there is no way to cache the compiled java bytecode instead of recompiling it each and every time.

I'd appreciate any advice on the matter!

© Stack Overflow or respective owner

Related posts about tomcat

Related posts about jsp