HybridJava compiler offers you an alternative to Java Server Pages (JSP). In the narrow sense JSP is a template language that supports supposedly convenient use of HTML and Java within same source code. A JSP engine reads this mixed code and generates a pure Java, later compiled and executed as a part of some Servlet.
The suggested technology continues JSP approach which only advantage is exactly the above mentioned symmetry in using Java and HTML, but goes much further. In this sense HybridJava is a successor and thus a modern alternative to Java Server Pages. However JSP is just a template engine that does not in fact care about text between just two delimiters, but Java Server Pages technology capitalizes upon real compilation and thus upon a deep knowledge of the application structure.
In HybridJava both Java and HTML operators are incorporated into a single formal grammar. Besides Java and HTML constituents the HybridJava syntax has a simple but powerful support for code factorization and reuse - widgets are defined in HybridJava language without any additional Java programming.
Unlike all known user-defined tags implementations HybridJava widgets may have more than one insertion points named in this case. Recursive usage of widgets is also supported. A unique feature of HybridJava widgets is their transparency for Java context when Java variables of a page are accessible in its widgets.
Technology includes an extremely transparent framework that includes application, page and widget level data sessin-scope persistance. Compiler resolves the identifiers used in widgets and pages against Java definitions in Java blocks, definitions of widget attributes, in instances of widgets, page page instance and application-level data. Components may send and recieve signals. The compiler generates Java source codes, one Java class for each page. Execution of this code results in generation of the outgoing HTML.
Note: FREE for non-commercial use.
Requirements:
· JDK 1.6
What's New in This Release:
· Bugs fixed
· More examples added
· Timing added to the SimpleServlet