This post originated from an RSS feed registered with Java Buzz
by gregor riegler.
Original Post: Good Bye Redeployment. spring-loaded, an Opensource Classreloader
Feed Title: Be a better Developer
Feed URL: http://www.beabetterdeveloper.com/feeds/posts/default
Feed Description: This Blog Provides Information and Guides for "Clean Programming" and "Best Practices" in Software Development with a focus on Java
Redeem yourself from hot deployments and OutOfMemoryException. spring-loaded is an opensource classreloader and a promising alternative to JRebel. It does not offer as many features as JRebel does, and it does not support any framework just yet. Nevertheless, its a great tool that can save the time you are waiting for that servletcontainer to restart again.
What it can do:
add/modify/delete methods/fields/constructors
modify annotations on types/methods/fields/constructors
add/remove/change values in enum types
What it cant:
support framework specific changes like Spring MVC @RequestMappings
change log configuration on the fly
It is not getting the attention it deserves, so give it a try.
Just download from github already, and add the following to your JVM parameters: