How to set JAVA_HOME environment variable for root user on AIX?

If you are following my previous post about installing Java 6 64bit on AIX 6.1 platform, next you have to set JAVA_HOME and PATH variables. If you want to set environment variables for non root users. You can set those variables in /home/<user>/.profile file. For a root user, setting an environment variable is different. As you will not find […]

How to install Java 6 (Java6_64.sdk) on AIX 6.1?

This tutorial is about installation of Java6 64bit on AIX 6.1 platform. 1. Obtain the installer archive for Java6 64bit (Java6_64.sdk.6.0.0.385.tar). 2. Extract the tar file in the same directory tar –xvf Java6_64.sdk.6.0.0.385.tar You will have Java6_64.sdk. .sdk file is backup/restore format file 3. Enter following commands to start installation of this format inutoc . […]

Struts 2 Spring integration: a kickstart on using dependency injection

In this post you will find how we can integrate Spring with Struts2 through struts2-spring-plugin. And we will also see how we can use dependency injection. I assume that you are successfully running a Struts2 application. We will add our Spring integration code in that. Lets take a scenario. You have an Interface DAO.java that […]

New topics added in SCJP 6 Certification (CX-310-065)

Following are the points that are highlighted in Kathi Sierra and Bert Bates book on SCJP6. 1-    Console class. 2-    NavigableSet and NavigableMap. 3-    Lower(int) and higher(int) function are added in Treeset collection. 4-    Polling method in TreeSet and TreeMap. 5-    TreeSet.descendingSet() and TreeMap.descendingMap(). Thanks to Bilal for discussing these points with me.

Fetch Twitter friends or followers through REST API in Java

I was playing around with fetching Twitter followers and friends with Twitter4J. But it was taking time to do that. So I code it with using REST urls given by Twitter. It fetches all your friends or followers. Depending upon your application that you want one list or you want to use paging. But I […]

Related Posts Plugin for WordPress, Blogger...