Java Classes and Objects

Introduction to Java Classes A class is nothing but a blueprint or a template for creating different objects which defines its properties and behaviors. Java class objects exhibit the properties and behaviors defined by its class. A class can contain fields and methods to describe the behavior of

[ read more ]

Introduction to Java Programming

Introduction to Computer Science using Java Java is a simple and yet powerful object oriented programming language and it is in many respects similar to C++. Java originated at Sun Microsystems, Inc. in 1991. It was conceived by James Gosling, Patrick Naughton, Chris Warth, Ed Frank, and Mike Sheri

[ read more ]

GAE + Java – Integrating Google user account

For this tutorial, we will show you how to integrate Google user account in GAE + Java project, via Google Java SDK UserService class. Tools used : JDK 1.6 Eclipse 3.7 + Google Plugin for Eclipse Google App Engine Java SDK 1.6.3.1 1. GAE User service example If user login by using their Google accou

[ read more ]

init Method in Spring

init Method in Spring

Calling Bean using init() method in Spring, this section describes  the way to initialize a bean through its lifecycle events using the init() method .Here we have defined the property and values of  the bean using the init method as shown below:- <bean id="mybean" class="Bean" init-metho

[ read more ]

Spring Batch Example

JDBC Template Batch update example, In the tutorial we have discussed about  batchUpdate()  method of class JdbcTemplate in Spring framework. The Batch update methods are used to executes multiple SQL updates query on a single JDBC Statement. The example given below consists of the code to del

[ read more ]

Introduction to Spring’s Aspect Oriented Programming(AOP)

1) Introduction One of the major features available in the Spring Distribution is the provision for separating the cross-cutting concerns in an Application through the means of Aspect Oriented Programming. Aspect Oriented Programming is sensibly new and it is not a replacement for Object Oriented

[ read more ]

Spring cglib

In this section we will learn about Spring cglib library and understand the importance of it. You will also find the url to download cglib library What is cglib? The cglib is high performance library in Java. It is used to extend Java classes and implement interfaces in runtime. It is one the be

[ read more ]

Spring 3 ASM – Spring asm Dependency

In earlier version of Spring (Spring version 2.5) the asm library was included. But the current version of Spring 3 does not contains the asm library. So, you have to download and add the asm library to your project. In this section you will find the instruction to download and add the asm li

[ read more ]