Archive for the 'Struts 2' Category

The best free Struts 2 tutorial

This is the best Struts 2 tutorial I have ever met. Leave your comment if you find a better one.

Struts 2 Tutorial Series: How to insert Tiles to your project

This tutorial is based on Struts 2 Tutorial Series – Login application.

What is Tiles?

Apache Tiles is a templating framework built to simplify the development of web application user interfaces. Tiles allows you to define page fragments which can be assembled into a complete page at runtime. See the snapshot below.

Goal of this application

We will add Tiles to our Login application. After a user login,

Continue »

Struts 2 Tutorial Series: A simple Hibernate application

Hibernate is a powerful, high performance object/relational persistence and query service. Hibernate lets you develop persistent classes following object-oriented idiom – including association, inheritance, polymorphism, composition, and collections. Hibernate allows you to express queries in its own portable SQL extension (HQL), as well as in native SQL, or with an object-oriented Criteria and Example API.

This applications main function is to add a record to database.

Continue »

Struts 2 Tutorial Series: Sample Application – Login Module

Welcome to Struts 2 Tutorial series where we will explore how to create a Struts 2 application. In this tutorial, we will first make a very simple Login application, then we expand our application to use Hibernate and Tiles, Ajax, Interceptor, Validator, etc. Finally, there will be a fully functional Struts 2 application – Quick Memo.

Goal of this sample app

We will do a simple Login module in this tutorial, since this is common for all applications. We are going to get the basic knowledge about the framework.

Continue »