| This Chapter | |
| - | Chapter 2: Dynamic Compilation |
| - | The Compiler Framework |
| - | Using JavaCompilerTool |
| - | Using Diagnostics |
| - | Summary |
One of the JSR implementations included in Java 6 is that of JSR 199, Java Compiler API (http://jcp.org/en/jsr/detail?id=199). This JSR specifies a set of interfaces that allow Java programs to invoke and run a Java compiler programmatically. An implementation of JSR 199 is also called the Java Compiler Framework, which takes the form of the interfaces and classes in the javax.tools package.
This chapter introduces this new technology and shows how to use it.