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

Multiple DataSource configurations using Spring

While developing Java based applications we might frequently need to change the database properties based on the environment we are working like PRODUCTION, DEVELOPMENT OR UAT environments. In that situations the following approach will be useful and easy to configure database properties for each environment. If we want to change the environment we just need […]

Read More

Java Versions and Code Names

VERSION CODE NAME RELEASE DATE JDK 1.1.4 Sparkler Sept 12, 1997 JDK 1.1.5 Pumpkin Dec 3, 1997 JDK 1.1.6 Abigail April 24, 1998 JDK 1.1.7 Brutus Sept 28, 1998 JDK 1.1.8 Chelsea April 8, 1999 J2SE 1.2 Playground Dec 4, 1998 J2SE 1.2.1 (none) March 30, 1999 J2SE 1.2.2 Cricket July 8, 1999 J2SE 1.3 […]

Read More