Classworking toolkit, Combining source and bytecode generation

Source code generation and bytecode generation each have advantages -- why not offer a choice?

From the developerWorks archives

Dennis Sosnoski

Date archived: December 19, 2016 | First published: October 04, 2005

JiBX 1.0 uses classworking techniques to enhance the bytecode for compiled classes and directly generate new classes. Bytecode generation has some major advantages over working at the source code level, but it can sometimes get in the way of building and debugging your application. Even aside from issues of convenience, some developers just don't trust anything but "The Source." For JiBX 2.0, lead developer Dennis Sosnoski wants to support both source and bytecode generation techniques. In this article, he discusses some of the differences between source code and bytecode generation techniques and gives his take on how to reconcile the two.

This content is no longer being updated or maintained. The full article is provided "as is" in a PDF file. Given the rapid evolution of technology, some steps and illustrations may have changed.



static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Java development
ArticleID=94790
ArticleTitle=Classworking toolkit: Combining source and bytecode generation
publish-date=10042005