Bindings, Platforms, and Innovation
This presentation focuses on the Internet and separating myth from fact, history from the future, and the mundane from the imaginative. Bob Frankston presents a vision of what could and should be.
Tracking change and innovation in the enterprise software development community
Posted by Rob Thornton on Oct 26, 2007 07:00 AM
JavaRebel brings Ruby and PHP style dynamic reloading of classes to Java. While it currently has several limitations it can speed up development dramatically.
JavaRebel allows an application (stand-alone or within an application server) to reload most class changes on the fly, including adding and removing methods and fields.
Using bytecode modification and a little bit of magic JavaRebel extends the JVM with ability to reload almost arbitrary changes to classes on-the-fly. This includes adding and removing both methods and fields and the only forbidden changes are to ‘extends’ and ‘implements’ clauses. Since all the existing object instances are preserved the application and server can continue running and code changes are immediately visible in the application.
Some limitations that have been discovered include:
Despite the current limitations, feedback has been generally positive. Likewise, Zeroturnaround is working to make nightly builds available for use and plans to release an SDK soon to help solve some problems, such as the custom classloader restriction.
Download the Free Adobe® Flex® Builder 3 Trial
Effective Management of Static Analysis Vulnerabilities and Defects
Ensuring Code Quality in Multi-threaded Applications
Should be "custom", not "customer" classloaders :)
Yeah and at that it is a bit of a show stopper. There is so much meta programming going on these days (eg if you use hibernate, spring) behind the scenes that "custom" classloaders are the norm.
JavaRebel supports custom classloaders themselves. JBoss, Spring, Hibernate, Tapestry 4 & 5 all run wonderfully. All these are used to create proxies or subclasses or just postprocess loaded classes. The thing that isn't supported is when you have classes in some custom places and use your own classloader to locate them. The issue is described here: http://www.zeroturnaround.com/forum/topic.php?id=16&replies=2.
OK thats great ! What about dirty hackers (like me) who do tend to do the latter a bit ;) (don't try this at home kids !) - anything in the works like that? I have run into this problem before with instrumentation tools like emma and clover in the past (may have been fixed by now, not sure). If this works well, I hope it leads to greater things being build into the JDK itself (without hosing the business model of course !).
OK thats great ! What about dirty hackers (like me) who do tend to do the latter a bit ;) (don't try this at home kids !) - anything in the works like that?
This presentation focuses on the Internet and separating myth from fact, history from the future, and the mundane from the imaginative. Bob Frankston presents a vision of what could and should be.
This article explores the use of JBoss and jBPM to implement design solutions that effectively address the issue of orchestrating long running activities.
This presentation covers the use of graph databases as an optimal solution for data that is difficult to fit in static tables, rapidly evolving data or data that has a lot of optional attributes.
This session introduces Real Options and shows how it can help in running your project. Real Options is a decision-making process that can be used to manage risk.
This article discusses the use of bindings on services and references (including the instance of non-configured bindings) as the means to implement SCA communications in a Web and SOA environment.
After a short introduction to DSLs, Scott Davis plays with the keyboard showing how to approach the creation of a DSL by typing working snippets of Groovy code that get executed.
IBM Rational and InfoQ present, Scaling Agile with C/ALM, an eBook showing organizations how to become “finely tuned software delivery machines” by enabling team integration and scaling.
Amanda Laucher presents a real life enterprise application written in F#. She shows actual code snippets, explaining design decisions and suggesting how to use some of the F# constructs.
5 comments
Watch Thread Reply