Applying IOC/DI to Method Design

Eventhough IOC is a generic design pattern, with Spring framework IOC/DI pattern became more popular.We can find lot of definitions for IOC/DI over internet, but the underlying concept is same.“Instead of component is responsible for getting the required dependencies to perform a task, a container/factory should build the dependencies and inject the dependencies into the […]

Read More

Aspect Oriented Programming using SpringAOP

While developing software applications for a business we do recieve the requirements either from requirements gathering team or from business analysts. In general those requirements are functional requirements which represents the activities that the business is doing. while developing software applications, apart from the functional requirements we should also consider some other points like performance, […]

Read More

Struts, Spring, Hibernate… What next?

I have started my career in 2006 as a Java Developer. Since then most of the times I was being involved in developing web applications using Servlets, JSP, Struts, IBatis and Hibernate. In late 2008 I started working with Spring and now I am a big fan of Spring. I am pretty much interested in […]

Read More

JSF can be used for several purposes.

Recently I got a wonderful opportunity to work with JSF and I couldn’t stop myself sharing my feelings on JSF with everyone.By god’s grace till last month i didn’t a chance to work on JSF in my career. But recently i have to work on a project developed in JSF 1.x. After spending few days […]

Read More

How to get List of property values from List of objects?

package com.javautils.core;import java.util.ArrayList;import java.util.Collection;import java.util.HashSet;import com.javautils.beans.Address;import com.javautils.beans.User;public class CollectionUtil{    public static void main(String[] args)    {        User user1 = new User(1,”AAAA”, “Hyd”);        User user2 = new User(2,”BBBB”, “Bnglr”);        User user3 = new User(3,”CCCC”, “Chennai”);        User user4 = new User(4,”DDD”, “Kochin”);        User user5 = new User(5,”AAAA”, “US”);        Collection<User> users =new ArrayList<User>();    […]

Read More