Spring Security 3 Hello World Example

By Abhijit Ghosh on Jul 11, 2013 3:06:46 PM

Security is of great concern in any web application. If you are looking for a proven and industry standard solution to secure your Java/J2ee based application, then widely used and highly customizable authentication and access control framework - Spring Security is well worth considering.

This post will show all the steps to setup, configure and integrate Spring Security 3 to protect your web application from being breached using a simple hello world example.


Spring Mobile Hello World Example that includes DeviceResolver, SitePreference, urlPath SiteSwitcher and LiteDeviceDelegatingViewResolver

By Abhijit Ghosh on Feb 17, 2013 7:56:17 AM

Spring Mobile is an extension to Spring MVC for development of mobile web applications. The Spring Mobile Device module provides a feature (DeviceResolver / LiteDeviceResolver) to detect devices like mobile and tablet in the server side.
Device aware view management is very useful specially when it is required to serve different optimized versions of same website based on request generating device type or specific devices.
Another feature called site preference management allows user to set his / her preference (SitePreference) to view a particular site in either "normal", "mobile" or "tablet" mode from a particular device.
Spring mobile also provides different types of site switchers (like mDot, dotMobi and urlPath SiteSwitcher) which automatically redirect users to the device specific site based on the device generating the request and site preference set by the user.


Spring 3 MVC Framework Based Hello World Web Application Example Using Maven, Eclipse IDE And Tomcat Server

By Abhijit Ghosh on Jan 8, 2013 4:16:34 AM

In this post, we'll see how to get started with a Spring Web model-view-controller (MVC) framework based Hello World web application in few steps. Here, we have used m2e-wtp (Maven Integration for Eclipse WTP) to generate a web project, Eclipse IDE to develop the code and Tomcat Server 7 to deploy and run the web application which will print 'Hello World!' in the browser.


Spring 3 Hello World Example / Tutorial using Maven Tool and Eclipse IDE

By Abhijit Ghosh on Sep 2, 2012 3:01:57 PM

This tutorial will help you to write your first Hello World Spring program. We will use Maven tool to generate the project and Eclipse IDE to implement a method which will print 'Hello World!' in the console.


Invoke and Execute Hello World Ant Script Programmatically using Java Code

By Abhijit Ghosh on Aug 6, 2012 1:35:28 PM

Apache Ant is an XML-based build tool to automate different tasks like compile, assemble, test source code, building deployment packages and run Java applications. This Hello World example shows how to invoke and run a simple Ant script programmatically using java code.


Tomcat Hello World Servlet using Eclipse IDE

By Abhijit Ghosh on Jul 14, 2012 10:50:17 PM

This simple tutorial explains you, how you can run your first Servlet class that will print "Hello World!" string in the browser. We will use Eclipse IDE to develop the code and Tomcat webserver to run the servlet code.


JSP Hello World Example using Eclipse IDE and Tomcat web server

By Abhijit Ghosh on Jul 10, 2012 9:40:13 AM

This simple tutorial describes how you can print "Hello World!" string in your browser by writing a simple JSP (Java server pages) program developed using eclipse IDE.


Java Hello World Example using Eclipse IDE

By Abhijit Ghosh on Jul 8, 2012 1:14:44 PM

This article describes how to create a "Hello World" java program using Eclipse IDE. This program will print "Hello World" in the console.


About this 'Hello World' site

This site is mainly developed to share coding and technology learning experiences on java / j2ee based technologies.

Simple tutorials / codes have been shared to learn a new technology. Full source code is also available for download.