Re: Precompile JSPs, avoid thousands of servlets?

2012-03-21 Thread Terence M. Bandoian
On 1:59 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Terence, On 3/17/12 7:16 PM, Terence M. Bandoian wrote: On 1:59 PM, Christopher Schultz wrote: I've been there. I was on a consulting gig once where we replaced about 70% of the code of the product with

Re: Precompile JSPs, avoid thousands of servlets?

2012-03-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Terence, On 3/17/12 7:16 PM, Terence M. Bandoian wrote: On 1:59 PM, Christopher Schultz wrote: I've been there. I was on a consulting gig once where we replaced about 70% of the code of the product with 3rd-party OSS libraries that had been

RE: Precompile JSPs, avoid thousands of servlets?

2012-03-17 Thread Terence M. Bandoian
To: Tomcat Users List Subject: Re: Precompile JSPs, avoid thousands of servlets? On 1:59 PM, Nick Williams wrote: We maintain a very large application, with somewhere around 2,000 JSP files (in addition to ~250,000 lines of pure Java). We have decided it is about time we ship our application

Re: Precompile JSPs, avoid thousands of servlets?

2012-03-17 Thread Terence M. Bandoian
On 1:59 PM, Christopher Schultz wrote: I've been there. I was on a consulting gig once where we replaced about 70% of the code of the product with 3rd-party OSS libraries that had been written after the inception of the project, but the original developers never had the inclination to switch.

RE: Precompile JSPs, avoid thousands of servlets?

2012-03-15 Thread Nick Williams
12, 2012 9:48 PM To: Tomcat Users List Subject: Re: Precompile JSPs, avoid thousands of servlets? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nick, On 3/12/12 4:43 PM, Nick Williams wrote: We maintain a very large application, with somewhere around 2,000 JSP files (in addition to ~250,000

RE: Precompile JSPs, avoid thousands of servlets?

2012-03-15 Thread Nick Williams
: Terence M. Bandoian [mailto:tere...@tmbsw.com] Sent: Tuesday, March 13, 2012 1:46 PM To: Tomcat Users List Subject: Re: Precompile JSPs, avoid thousands of servlets? On 1:59 PM, Nick Williams wrote: We maintain a very large application, with somewhere around 2,000 JSP files (in addition

Re: Precompile JSPs, avoid thousands of servlets?

2012-03-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nick, On 3/15/12 1:21 PM, Nick Williams wrote: Hmm... do you have complete control over the version of Tomcat that your clients use? Unfortunately, we do not have complete control over this. This doesn't look good for you :( The JSP compiler

RE: Precompile JSPs, avoid thousands of servlets?

2012-03-15 Thread Nick Williams
-written) the project from Pascal to C++/MFC to Java/Java EE over the course of 20 years.) N -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Thursday, March 15, 2012 1:14 PM To: Tomcat Users List Subject: Re: Precompile JSPs, avoid thousands

Re: Precompile JSPs, avoid thousands of servlets?

2012-03-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nick, On 3/15/12 2:29 PM, Nick Williams wrote: It seems reasonable that Jasper could be separated from the core of Tomcat. We may consider attempting integrating Jasper into our product at a later date to see if that works. Not in this version

Re: Precompile JSPs, avoid thousands of servlets?

2012-03-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tim, On 3/15/12 3:41 PM, Christopher Schultz wrote: Gotcha. Please tell me you are using the Tomcat precompiler and not just deploying the webapp and trying to hit all of the URLs. Tomcat has a precompiler for (I believe) all currently-supported

RE: Precompile JSPs, avoid thousands of servlets?

2012-03-15 Thread Nick Williams
, 2012 2:42 PM To: Tomcat Users List Subject: Re: Precompile JSPs, avoid thousands of servlets? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nick, On 3/15/12 2:29 PM, Nick Williams wrote: It seems reasonable that Jasper could be separated from the core of Tomcat. We may consider attempting

Re: Precompile JSPs, avoid thousands of servlets?

2012-03-14 Thread Konstantin Kolinko
2012/3/13 Nick Williams nicholas.willi...@puresafety.com: Our second  challenge is the 11,500-line web.xml file that results from this process. I understand that Ant does a lot of the hard work for me, but a web.xml file this large bothers me, even if I don’t have to look at it during every

Re: Precompile JSPs, avoid thousands of servlets?

2012-03-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 3/14/12 8:49 AM, Konstantin Kolinko wrote: 2012/3/13 Nick Williams nicholas.willi...@puresafety.com: Our second challenge is the 11,500-line web.xml file that results from this process. I understand that Ant does a lot of the

Re: Precompile JSPs, avoid thousands of servlets?

2012-03-14 Thread Rob Koberg
If you pass an empty web.xml to be updated by precompile tasks, it should not be hard to convert it into web-fragment.xml, using an XSLT transform or just regexp replacements. I had considered using 'cat' :) You could also use XML entities and/or XInclude (don't know if you would need to set

Re: Precompile JSPs, avoid thousands of servlets?

2012-03-13 Thread Terence M. Bandoian
On 1:59 PM, Nick Williams wrote: We maintain a very large application, with somewhere around 2,000 JSP files (in addition to ~250,000 lines of pure Java). We have decided it is about time we ship our application with precompiled JSP files. The Ant tasks from Tomcat to support this effort

Precompile JSPs, avoid thousands of servlets?

2012-03-12 Thread Nick Williams
We maintain a very large application, with somewhere around 2,000 JSP files (in addition to ~250,000 lines of pure Java). We have decided it is about time we ship our application with precompiled JSP files. The Ant tasks from Tomcat to support this effort have been extremely helpful, and I have

Re: Precompile JSPs, avoid thousands of servlets?

2012-03-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nick, On 3/12/12 4:43 PM, Nick Williams wrote: We maintain a very large application, with somewhere around 2,000 JSP files (in addition to ~250,000 lines of pure Java). We have decided it is about time we ship our application with precompiled JSP