10 August 2011 ~ 0 Comments

Hunting down CPU hogging Java Thread

Most of us have encountered a situation to find cause of high CPU usage in Java application. Profiling is the best way, but at times running Profiler in production is not an option. Fortunately, there is a simple way, if you are running your app on *nix. Lets explore how to find this. Find the [...]

Continue Reading

Tags: , ,

22 October 2008 ~ 2 Comments

Implementing Trap Receiver in 30 minutes using Apache MINA

Will continues to post articles about MINA, to be updated,  Subscribe in a reader Yes, we are going to implement a SNMP trap receiver in less than 30 minutes. If you have been following my post on Apache MINA, this would be a natural extension to it. In this article, we shall bring together all [...]

Continue Reading

21 October 2008 ~ 1 Comment

Implementing UDP Server using Apache MINA

In my last post we created a UDP client using Apache MINA. Lets turn the table and implement the Server side. Let’s see how using Apache MINA reduces the effort to create a UDP Server. Steps to create a UDP Server using java.net API’s Create a Socket and listen for incoming connection Process each packet [...]

Continue Reading

Tags: , ,

13 October 2008 ~ 9 Comments

Updating Google Calendar with MS Project Tasks

UPDATE Have an updated version of this writeup at http://www.ashishpaliwal.com/blog/2011/07/updating-google-calendar-with-ms-project-revisited/ I am back, as promised. Please read my earlier post Processing Microsoft Project File in Java using MPXJ. In this post we shall take an mpp and update the Google Calendar with the task details. The question is why would anyone do that?  Lets cook the [...]

Continue Reading

13 October 2008 ~ 19 Comments

Processing Microsoft Project File in Java using MPXJ

Many a time, I wished I had a utility that would read my projects mpp File and automatically alerted me about my tasks. Had created such a utilitly and this post desribes the process of reading MS Project Files in Java using MPXJ and Apache POI library. MPXJ – MPXJ is the java library used [...]

Continue Reading

Tags: , ,