- JavaServer Pages (JSP) technology in Java Platform, Enterprise Edition (Java EE) is a widely known example of a dynamic framework that generates and compiles Java classes. The compilation is often performed by directly invoking the
javaccompiler, which requires an installed Java Development Kit (JDK) or by calling
com.sun.tools.javac.Main, which can be found in Sun's tools.jar
- Apache Commons JCI provides a mechanism to compile and load Java classes into a running application.
- Janino and Javassist also provide similar dynamic capabilities, although Janino is limited to pre-Java 1.4 language constructs, and Javassist works not at the source-code level but at a Java class abstraction level.
Java Dynamic Frameworks that use run-time Java Compiler
Cucumber Eclipse SetupCreate Eclipse Maven Project Open pom.xml Goto Dependencies Add GroupId: info.cukes, Artifact Id: cucumber-java, Versi...