Re: [Winstone-devel] Does Winstone support hot deployment?
Status: Beta
Brought to you by:
rickknowles
From: Rick K. <ri...@kn...> - 2008-04-28 02:43:23
|
Rupesh, The short answer is no - there is no automatic redeployment when a jar file is replaced. There are workarounds however, in that the only thing doesn't work is the automatic detection of a change. Were you to send a command to the container (via the control port) explicitly saying "reload" after you changed a jar file, e.g. in your build script, you would have the behaviour you want. If you have an understanding of how jar-file classloaders work, you'll be able to appreciate that this is not a simple thing to implement. In point of fact, most of the containers that offer this feature implement quite elaborate copy-on-startup and fake-filesystem schemes in order to simulate it. With Winstone being focussed on size, I traded this kind of complexity away. Given that most people don't ever need to do it and when they do an explicit option is available, I figured it was a fair trade. Thanks and good luck, Rick Rupesh Mankar wrote: > > Hi, > > > > We are planning to use Winstone Servlet container in our project. But > we are stuck at one point. The documentation provided at > http://winstone.sourceforge.net/ does not contain any information > about *hot deployment* support in Winstone for JAR files. > > > > Does it support hot deployment directly? If not directly, do I need to > configure something? > > > > Your help will be highly appreciated. > > > > Thanks and Regards > > -Rupesh Mankar > > > > > > > > DISCLAIMER ========== This e-mail may contain privileged and > confidential information which is the property of Persistent Systems > Ltd. It is intended only for the use of the individual or entity to > which it is addressed. If you are not the intended recipient, you are > not authorized to read, retain, copy, print, distribute or use this > message. If you have received this communication in error, please > notify the sender and delete all copies of this message. Persistent > Systems Ltd. does not accept any liability for virus infected mails. > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > ------------------------------------------------------------------------ > > _______________________________________________ > Winstone-devel mailing list > Win...@li... > https://lists.sourceforge.net/lists/listinfo/winstone-devel > |