- 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
javac
compiler, which requires an installed Java Development Kit (JDK) or by callingcom.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.
{{theTime}}
Search This Blog
Total Pageviews
Java Dynamic Frameworks that use run-time Java Compiler
Subscribe to:
Post Comments (Atom)
java.lang.NoSuchFieldError: Class com.sun.tools.javac.tree.JCTree$JCImport
SpringBoot Error: java.lang.NoSuchFieldError: Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field 'com.sun.tools.j...
No comments:
Post a Comment