Maven goals

validate – validate the project is correct and all necessary information is available compile – compile the source code of the project test – test the compiled source code using a suitable unit testing framework. These tests should not require the code be packaged or deployed package – take the compiled code and package it in its distributable format,

Spring Security Login Example

In this tutorial we are covering full of spring security login example but with no database connection. With following tutorials I am thinking to add one with database. To understand basic spring security you may study this example. In this tutorial I used maven and you will find the pom.xml file as well and my

Spring 3 MVC Hello World Example

In this simple tutorial I will show you how to create the folder structure, add necessary libraries and write code of Spring 3 MVC. First off all your project has to have the following jars to be imported in your project minimum: antlr-2.7.6.jar commons-lang-2.4.jar commons-logging-1.1.1.jar jstl.jar log4j-1.2.11.jar org.springframework.beans-3.0.6.RELEASE.jar org.springframework.context-3.0.6.RELEASE.jar org.springframework.core-3.0.6.RELEASE.jar org.springframework.expression-3.0.6.RELEASE.jar org.springframework.web-3.0.6.RELEASE.jar org.springframework.web.servlet-3.0.6.RELEASE.jar This is

Installing LAMP stack on Ubuntu

When we work on Ubuntu in case of need of LAMP stack we programmers always take the hard way to individually install, setup and configure components like Apache PHP MySQL. One of the greatest things with Ubuntu is that we are able to install LAMP stack with one command line!!! So let us get started