June 10, 2009
AKA "How to stop waiting for build/deploy and enjoy coding again" Twenty-five percent of developers say that their JEE projects take over two minutes to deploy, every time they want to see their changes. Over 70 percent say it takes at least a minute. Since on average we deploy five times an hour, we are watching the logs roll by, or switching to email and losing focus, for 10–40 minutes every day. In this talk, Jevgeni Kabanov will highlight three key techniques that you can start using immediately to drop the time from hitting Ctrl+S to refreshing your browser — down to less than one second. We will start by discussing exploded development and some shortcuts you can take to eliminate the build scripts from your everyday life. Then we will review some ways to bypass or speed up redeployment. We will take a look at JEE redeployment, OSGi modules, special framework support that exists in Grails, Seam, Tapestry5 and RIFE, and JVM HotSwap. We will cover what you can do for free, and introduce a class reloading JVM plug–in called JavaRebel, that solves the problem for peanuts. After this talk, you will leave with a clear idea of at least three ways to reduce your turnaround, and measurably save your team at least an hour per day.