spring web application

Integrating Database Layer – Shop Smart

Introduction In the previous post Spring Application Setup – Shop Smart we learnt how to setup Spring and JUnit for development environment using Eclipse. Let us now add a data access layer (commonly known as DAO layer) to our application, so that we can easily communicate with the database (HSQL or MySQL or any other database supported by Hibernate). Hibernate - A brief Discussion Hibernate is a huge topic and deserves its own series of posts. Here I would just like to point out few basic stuff about this framework. It all starts with the need of persisting an object. Imagine t...
Read More

Java-Spring Web Application – Maven

Here we learn to create a simple web application in Java and Spring using Maven build and dependency management tool. There are several articles written with various alternatives. Java-Spring Web Application - Maven, is the simplest article and it helps in creating the simplest web application. It just demonstrates integrating Spring MVC using maven. It also demonstrates the capabilities of maven, how we can get rid of the traditional approach of including each jar in the class path by manually searching and downloading it. First for the impatient programmers: Complete the following prere...
Read More