Forum LAMS for Tech-Heads - General Forum: Jboss load time


 
You may request notification for Jboss load time.
Search: 

1: Jboss load time
04/09/10 08:39 AM
[ Reply | Forward ]
Hi everyone

Is there any way to reduce the JBoss load time?

Everytime I make a change in my Java or JSP files, I have to wait 3 and sometimes 5 minutes!

Thanks in advance.

Posted by Felipe Peña

2: Re: Jboss load time
In response to 1 04/12/10 02:19 AM
[ Reply | Forward ]
With JSP modifications, you usually don't have to restart jboss. The WAR that the JSPs reside in does have to be expanded though. Most of the lams projects have 'explode-war' and 'synchronise-deploy' ant targets to facilitate this.

With code/jar changes, if your IDE supports hot code replace (we use Eclipse), you can run jboss from your IDE, and when you update code, the IDE will update the classes in the running JVM. This only works for minor blocks of code though, e.g. new methods or classes won't be inserted into the running JVM.

If you just want to reduce jboss startup time, don't deploy any lams tools you don't need, I think that's the biggest thing you can do...

Posted by Jun-Dir Liew

3: Re: Re: Jboss load time
In response to 2 04/12/10 08:43 AM
[ Reply | Forward ]
Thanks for the tips!, I'll try them right away.

Posted by Felipe Peña

Reply to first post on this page
Back to LAMS for Tech-Heads - General Forum