advertisement
Login | Register   
  Include Code  Search Tips
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   TIP BANK
Browse DevX
What other Java friendly scripting languages have you used to prototype or test an API?
Partners & Affiliates
advertisement
advertisement
advertisement
advertisement
 

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.  


advertisement
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?



advertisement