- 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)
Generate Insert Sql from Select Statement
SELECT 'INSERT INTO ReferenceTable (ID, Name) VALUES (' + CAST(ID AS NVARCHAR) + ', ''' + Name + ''...
No comments:
Post a Comment