From dims@yahoo.com Fri Nov 3 18:44:35 2000 Return-Path: Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 74338 invoked from network); 3 Nov 2000 18:44:35 -0000 Received: from web123.mail.yahoo.com (HELO web123.yahoomail.com) (205.180.60.191) by locus.apache.org with SMTP; 3 Nov 2000 18:44:35 -0000 Received: (qmail 705 invoked by uid 60001); 3 Nov 2000 18:44:32 -0000 Message-ID: <20001103184432.704.qmail@web123.yahoomail.com> Received: from [141.202.248.55] by web123.yahoomail.com; Fri, 03 Nov 2000 10:44:32 PST Date: Fri, 3 Nov 2000 10:44:32 -0800 (PST) From: Davanum Srinivas Reply-To: dims@yahoo.com Subject: Hot Deployment To: cocoon-dev@xml.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Did anyone take a look at the new TechTip at JavaSoft? http://developer.java.sun.com/developer/TechTips/2000/tt1027.html The article answers the question on how to run new version(s) of classes without restarting the VM. Are we doing this already? We could do this for XSP's. When we identify that the .XSP file has been updated, we can regenerate the class file and load the new version of the class. Here's an excerpt: ------------------------------------------------------------------------------------------------ USING CLASS LOADERS FOR HOT DEPLOYMENT The ability to load mutiple classes with the same name into the virtual machine allows servers to partition processing into separate namespaces. This partitioning could be space-based, separating code from different sources to simplify security. For example, applets from two different codebases could run in the same browser process. Or, the partitioning could be time-based. Here, new versions of a class could be loaded as they become available. This time-based partitioning feature is sometimes known as hot deployment. The following code demonstrates hot deployment in action. ------------------------------------------------------------------------------------------------ Thanks, dims ===== Davanum Srinivas, JNI-FAQ Manager http://www.jGuru.com/faq/JNI __________________________________________________ Do You Yahoo!?