Wednesday, February 8, 2012

Popular Short Science Articles : Allergies .. Stress .. Skin Cancer .. Coffee and Headache

Application Frameworks



Apache Struts Framework

The Struts framework is an open-source product for building Web applications based on the model-view-controller (MVC) design. It uses and extends the Java Servlet API.

It features a powerful custom tag library, tiled displays, form validation, and internationalization. Also, Struts supports a variety of presentation layers, including JSP, XML/XSLT, JavaServer Faces (JSF), and Velocity, as well as a variety of model layers, including JavaBeans and EJB.

Download Struts here:


Spring Framework

The Spring Framework is a layered Java/J2EE application framework based on code published in Expert One-on-One J2EE Design and Development. The Spring Framework provides a simple approach to development that does away with numerous properties files and helper classes that litter projects.

Key features of the Spring Framework include:

* Powerful JavaBeans-based configuration management, applying Inversion-of-Control (IoC) principles.
* A core bean factory, usable in any environment, from applets to J2EE containers.
* Generic abstraction layer for database transaction management, allowing for pluggable transaction managers, and making it easy to demarcate transactions without dealing with low-level issues.
* JDBC abstraction layer with a meaningful exception hierarchy.
* Integration with Hibernate, DAO implementation support, and transaction strategies.

Download Spring here


Hibernate Framework

Hibernate is an object-relational mapping (ORM) solution for the Java language. It is also open source software, as is Struts, and is distributed under the LGPL. Hibernate was developed by a team of Java software developers around the world. It provides an easy to use framework for mapping an object-oriented domain model to a traditional relational database. It not only takes care of the mapping from Java classes to database tables, but also provides data query and retrieval facilities and can significantly reduce development time otherwise spent with manual data handling in SQL and JDBC.

Hibernate’s goal is to relieve the developer from a significant amount of common data persistence-related programming tasks. Hibernate adapts to the development process, whether it is started with a design from scratch or from a legacy database. Hibernate generates the SQL, and relieves the developer from manual result set handling and object conversion, and keeps the application portable to all SQL databases. It provides transparent persistence, the only requirement for a persistent class is a no-argument constructor.

This framework is typically used in Java Swing applications, Java Servlet-based applications, or J2EE applications using EJB session beans.

Download Hibernate here

There are many more frameworks available. I have mentioned only a few widely used ones.

.
.

To read about the Java Application Architecture, IDE’s, application frameworks -Click here

To read about Types of Application Architecture -Read here

To go to the Java Components Page -Go here!