Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / October 2007

Tip: Looking for answers? Try searching our database.

development speed of struts is low?

Thread view: 
cmk128@hotmail.com - 25 Oct 2007 10:03 GMT
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 (cmk128@hotmail.com)
Lew - 25 Oct 2007 14:31 GMT
>     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.

Signature

Lew

Richard Reynolds - 26 Oct 2007 00:01 GMT
>>     When i [sic] change my action class, struct-config.xml,
>
[quoted text clipped - 10 lines]
>
> Some IDEs will automate that redeployment action for you.

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@hotmail.com - 26 Oct 2007 00:38 GMT
On 10 26 ,   7 01 , "Richard Reynolds" <richiereyno...@ntlworld.com>
wrote:

> > cmk...@hotmail.com wrote:
> >>     When i [sic] change my action class, struct-config.xml,
[quoted text clipped - 18 lines]
> 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 - 26 Oct 2007 04:21 GMT
> I used JBuilder, when i press the play button, it will deploy, but it
> is still slow.

How slow, exactly?

Signature

Lew



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.