Your assumptions are most likely wrong. Whether or not your Servlet
container supports "hot-redeploy" is a general question, and not at all
specific to Struts. Therefore, the question of whether to strip out
Struts from your application shouldn't even be on the table with repsect
to your concerns.

I use Tomcat 4.0 as my production server. It supports hot-redeploy by
way of the manager "reload" command, which I can do remotely. As far as
I can tell, this only causes a momentary lapse of responsiveness for the
one web-app I am redeploying, and the rest of my webapps stay running
just fine. No stopping and starting of the entire container is required.
With this mechanism, I can change mappings in struts-config.xml, add new
Actions, update existing classes, etc., all on-the-fly. The only thing
it doesn't do, is reload the "web.xml" file, which, luckily, changes
very infrequently (as opposed to struts-config.xml which changes often).

Bryan

On Wed, 2002-03-13 at 10:17, [EMAIL PROTECTED] wrote:
> 
> A co-worker and I were talking about this yesterday and I was curious of
> the following....
> 
> Seems like in order to develop a struts application, you'll have to pay for
> a private JVM instance so you can start and stop the tomcat or other JSP
> engine so that it can re-read the config.xml files....
> 
> Question 1:   Any plans for struts to change in the future where you can
> dynamically add new actions and forwards without having to stop and
> re-start the web-server?     I would guess (although I could be wrong) that
> this would be pretty easy to do within struts in the future?    I assume
> struts is loading the config files in a DOM.    Adding a new servlet within
> struts to reload the config files and update the DOM does not seem like it
> would be that difficult...
> 
> Question 2:   Supposing I wrote this app in struts and I could not find a
> sponser to pay the $50 per month fees to host a web-site...    Well, I
> could reconvert the apps to a non-struts approach and then pay only $10 per
> month (because I would no longer need to start/stop the web-server and
> would only need to dump updated JSP's and such)....       Is there a
> document/technique/pattern/advice on the best way to convert existing
> struts applications to non-struts?     I know that putting javabeans back
> into the JSP files would be a royal pain but if it would save $40 per
> month, it may be the best way to go  :-)
> 
> thanks,
> Theron
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to