Pages

Saturday 27 August 2016

Spring CRUD Example using One to One Mapping of Two Tables

In this example you basics on how to write a simple web based application with CRUD (Create, Read, Update, Delete) operation using Spring3 MVC Framwork with Hibernate3 using Annotations to handle two database tables(Category & Publication), which can handle CRUD inside its controllers. Click here 



Wednesday 27 July 2016

Setting up the Spring 3 development environment (part 2)

 Introduction

The Configuration of GlassFish server on Eclipse could be very challenging, but with the 

following instruction be rest assured that your are going to have a smooth sail.

Friday 22 July 2016

Setting up the Spring 3 development environment (part 1)

Introduction

Here I will explain how to set-up a typical environment to develop Spring based applications. There is no prerequisite to this tutorial other then a working Windows PC client with sufficient CPU power and memory. We will need to install the following components:

  • Java 6 JDK
  • Eclipse IDE for Java EE Developers  (Juno)
  • GlassFish 3
Installing Java 6 JDK

 You can download the Java JDK from here. Select the Java JDK that matches your PC  operating system specification  and download install.

What is Spring MVC framework?

The Spring web MVC framework provides model-view-controller architecture and ready components that can be used to develop flexible and loosely coupled web applications. The MVC pattern results in separating the different aspects of the application (input logic, business logic, and UI logic), while providing a loose coupling between model, view and controller parts of application. Spring framework provides lots of advantages over other MVC frameworks :