Because tomcat is a java process it makes more sense to run servlets through it's jvm instance rather than have nsd launch and monitor an embedded jvm.
Servers like Apache work the same way with Tomcat. Modules such as jconnector, mod_jk and mod_proxy all work on the basis of constructing a request and sending it to tomcat using protocols such as ajp12/ajp13 and then reconstituting the result for output. I think apache thought the same thing- why reinvent the wheel and build a custom servlet engine, when all you need is to just pass arguments to an existing one. It also works with the idea of MVC, being able to separate out your backend system's from how they are presented, and possibly in the future allow you to swap your back end servlet engine for something else, (if people can contribute to building more connectors that is). If you want to be able to combine java with tcl, then that's going to be a bit of a challenge. But I'm sure someone will figure out a new .adjsp page format one of these days.... *O'Leary ducks and runs for cover* p Bas Scheffers wrote on 21/05/2004, 09:27: > Maybe there is something I do not understand about nsjk2, but how dows it > make AOLserver "support" Java? As far as I can tell, it is realy only a > fancy proxy to Tomcat, which in turn delivers finished, generated HTML or > whatever other content type. Not very usefull as the only way to, in that > case, web-enable some Java enterprise app using AOLserver would be to, > well, bypass AOLserver. And by doing so make all the Tcl libraries and > ADP > templates I have written to make the rest of the site look the way it > does > useless. -- Patrick O'Leary Software Engineer, AOL UK AOL (UK) Ltd. 80 Hammersmith Road, London W14 8UD United Kingdom email: [EMAIL PROTECTED] URL: www.aol.co.uk Tel: +44 (0) 20 7348 8462 Fax: +44 (0) 20 7348 8009 AOL UK's recommended destination for online giving: givenow.org This email, its contents and any files transmitted with it are confidential and may be legally privileged. It is intended solely for the addressee(s) only. If you are not the intended recipient, you must not copy, distribute, or take any action in reliance upon it. If you have received this email in error, please notify us immediately via telephone or fax and delete the material from your computer system. AOL (UK) Ltd is registered in England under number 03462696, with its registered office at 80 Hammersmith Road, London W14 8UD. -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
