development speed of struts is low?  
Author Message
cmk128





PostPosted: 2007-10-25 17:04:00 Top

java-programmer, development speed of struts is low? Hi
When i change my action class, struct-config.xml, i need to
restart tomcat, it will highlt affect my development speed. How to fix
this problem?
thanks
from Peter (email***@***.com)

 
Lew





PostPosted: 2007-10-25 21:31:00 Top

java-programmer >> development speed of struts is low? email***@***.com wrote:
> When i [sic] change my action class, struct-config.xml,

That's not a class, much less an action class. It's the Struts configuration
file, what you might call a "deployment descriptor".

> i [sic] need to restart tomcat, it will highlt affect my development speed. How to fix
> this problem?

Don't restart Tomcat, undeploy and redeploy the app, perhaps using the Tomcat
manager application. It can be done programmatically, say through an Ant task.

Some IDEs will automate that redeployment action for you.

--
Lew
 
Richard Reynolds





PostPosted: 2007-10-26 7:02:00 Top

java-programmer >> development speed of struts is low?
"Lew" <email***@***.com> wrote in message
news:email***@***.com...
> email***@***.com wrote:
>> When i [sic] change my action class, struct-config.xml,
>
> That's not a class, much less an action class. It's the Struts
> configuration file, what you might call a "deployment descriptor".
>
>> i [sic] need to restart tomcat, it will highlt affect my development
>> speed. How to fix
>> this problem?
>
> Don't restart Tomcat, undeploy and redeploy the app, perhaps using the
> Tomcat manager application. It can be done programmatically, say through
> an Ant task.
>
> Some IDEs will automate that redeployment action for you.
>
> --
> Lew

weblogic has an "auto deploy" directory, simply pop in your new ear and it
detects the change and deploys if for you, maybe Tomcat has somethng
similar?


 
 
cmk128





PostPosted: 2007-10-26 7:38:00 Top

java-programmer >> development speed of struts is low? On 10 26 , 7 01 , "Richard Reynolds" <email***@***.com>
wrote:
> "Lew" <email***@***.com> wrote in message
>
> news:email***@***.com...
>
>
>
> > email***@***.com wrote:
> >> When i [sic] change my action class, struct-config.xml,
>
> > That's not a class, much less an action class. It's the Struts
> > configuration file, what you might call a "deployment descriptor".
>
> >> i [sic] need to restart tomcat, it will highlt affect my development
> >> speed. How to fix
> >> this problem?
>
> > Don't restart Tomcat, undeploy and redeploy the app, perhaps using the
> > Tomcat manager application. It can be done programmatically, say through
> > an Ant task.
>
> > Some IDEs will automate that redeployment action for you.
>
> > --
> > Lew
>
> weblogic has an "auto deploy" directory, simply pop in your new ear and it
> detects the change and deploys if for you, maybe Tomcat has somethng
> similar?

I used JBuilder, when i press the play button, it will deploy, but it
is still slow.
thank you for the answers
from Peter

 
 
Lew





PostPosted: 2007-10-26 11:21:00 Top

java-programmer >> development speed of struts is low? email***@***.com wrote:
> I used JBuilder, when i press the play button, it will deploy, but it
> is still slow.

How slow, exactly?

--
Lew