Use Jython to Exercise Java APIs Without Compiling
Save development time and effort by using Jython to test code syntax prior to writing your Java classes.
by Doug Tillman
March 17, 2005
ava inherited many of its defining characteristics from C and C++, making it substantially easier to work with. Unfortunately, despite these many syntax improvements, Java still has to be compiled.
Of course, to compile source code requires that a framework for executing a program be constructed. In Java that means you have to write both a class file and a main entry point method. While this isn't necessarily much of an issue when working with familiar APIs, it can slow development down if you're working in unfamiliar territory. Fortunately, there are an increasing number of options available to Java developers to test code and circumvent the compile step. Jython is one such tool, and the subject of this article.
It's quick, easy and you get access to all the articles on DevX.
This registration/login is to allow you to read articles on devx.com. Already a member?
To become a member of DevX.com create your Member Profile by completing the form below. Membership is free!