Java Tutorial - Java Script : Turbine

Java Tutorial - Java Script :

Turbine


Turbine is an application framework similar to Struts and the other frameworks presented here. Like Struts, Turbine is also developed by the folks at the Jakarta-Apache project. Turbine also provides MVC-style support and allows Java developers to quickly build Web applications based on a known and proven model. The Turbine approach to the view layer is a “pull” (servlet places data into a context where it can be “pulled” by the view) as opposed to
a “push” (the servlet “pushes” data directly into the view). Thus, Turbine works extremely well with many popular presentation alternatives such as WebMacro, Velocity, FreeMarker, Cocoon, and JSP. The following table gives a
summary of Turbine’s characteristics.
As far as functionality is concerned, Turbine is one of the front-runners in its application space, providing over 200 classes in its toolkit. These classes provide support for security, database connection pooling, template-based email
using many of the common template engines, and logging support based on Log4J. Additionally, the Torque classes are easily integrated to provide object relational mapping. These object relational mapping tools provide for autogeneration of SQL and Java code for databases, which makes it easy to build object relational systems.
Turbines downfall is its complexity. Turbine has a much steeper learning curve than its sibling project Struts. Many of the features offered in Turbine (Torque, for example) can be extracted and used independently of the rest of the framework.