开发者

Optimize deployment cycle for development

开发者 https://www.devze.com 2023-03-30 17:37 出处:网络
I use Seam3 + maven + jboss7 combination in my development. Would it be possible to optimize the loadup time when I do

I use Seam3 + maven + jboss7 combination in my development. Would it be possible to optimize the loadup time when I do

mvn clean package jboss-as:redeploy

Currently this takes over 20 seconds with core2duo with an SSD (Mac Air).

In my workflow, it's common to make a lot of small changes and then redeploy and see开发者_如何学C changes. It's quite a big bottleneck with current setup, and it breaks my flow.

  1. Would it be possible to do proper hot-deployment over my configuration?

  2. Is there parameters for making startup faster when developing?


There is no hot-deployment. I'm not sure why it would be taking 20 seconds either. I get around a 3 second start-up time with JBoss AS7 and my deployment times are around 1 second maven deployments.

Is the server running locally or on a different machine? It could be the time it takes over the network.

You can write custom deployment scripts or write custom Java code to deploy applications as well.


I found about JRebel. It's a gift that I would not have expected to fall upon me. This supports my workflow and makes me much more efficient. If you need hot-deployment, try it out!

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号