TerraFrame MOJO framework

AJAX

TerraFrame MOJO has AJAX tools built in to make quick work of building browser-based RIA front ends. MOJO provides the browser with the same convenient API that the presentation server uses.

 

AJAX handling in MOJO

 

In MOJO, Javascript DTOs are generated for all classes and façades.  When a method is invoked on a DTO, the object is sent down the stack and back to the browser automatically. MOJO first marshals the object as JSON and sends it to the server. The DTO is then unmarshalled as a Java object and the method is instantiated. The results are marshalled again as JSON and sent to the browser where they are unmarshalled and the result is displayed.

Since TerraFrame MOJO’s API is data centric, the returned objects can be displayed in any way the developer choses. This method provides complete control over all aspects of the javascript interface.

Requirements

Java SE
Java 6
(Java 5 minimum. Req. with PostgreSQL)
Operating Systems
Microsoft Windows
Any Flavor of Linux
Sun Solaris
Mac OS X 10.4+
Databases
MySQL
PostgreSQL
Microsoft SQL Server
Oracle 8
Web Server
Tomcat 6
(others untested)
IDEs
Eclipse 3.1.1
IntelliJ
Netbeans
Emacs
ANT
Version 1.7