HybridJava Compiler

A simple tool for Java developers.
Download

HybridJava Compiler Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Free
  • Price:
  • $1.00
  • Publisher Name:
  • HybridServerPages Group
  • Operating Systems:
  • Windows
  • File Size:
  • 440 KB

HybridJava Compiler Tags


HybridJava Compiler Description

HybridJava compiler is a handy and reliable simple server-side component-oriented MVC Java Web Framework alternative to JSF, Tapestry, Wicket, Click etc. The framework consists of a compiler and the runtime. The HybridJava language is strictly defined by a merge of Java and HTML formal grammar and extends Java semantics throughout markup. Compiler generates Java code invoked from a single Servlet. The runtime is less than 1000 lines of Java code and is provided as Open Source, as well as a sample Servlet. Of known solutions, Facelets language (that recently replaced JSP in JSF) functionally is the closest to HybridJava, but the latter is simpler and more powerful. The framework is designed with a minimalistic approach, so that it completely avoids using many popular concepts: JavaBeans, XML namespaces, XML and configuration in general, annotations, Expression Language etc. The complete documentation is less than 20 printed pages. Nevertheless, the framework has all the features necessary to compete with other component-oriented Java frameworks. Components are defined as a generalization of HTML elements in the sense that to use a component it is sufficient just to insert its tag(s) into the View markup without configuration or Java coding. HybridJava also supports components that permit more than one area designated for insertion of content. As a result, components may have a layout of their own, which eliminates any need for a separate Tiles-like technique. In the most general case a component consists of a .widget file coded in HybridJava language (the View) and a Java class. Lightweight components that have no state are presented only by the .widget file and are compiled directly into the View of the whole page. Normally buttons and other controls are lightweight. The framework automatically assigns unique IDs to instances of components, and takes care of dispatching user actions to corresponding instances. At the Controller phase of processing component handlers are called by the framework in the natural order (from bottom to top), the page handler called the very last. With this call each component gets access to its own data in the Request. Note: Free for non-commercial use.


HybridJava Compiler Related Software