Archive | Application Programming

23 November 2009 ~ 1 Comment

Getting Started with Terracotta

Abstract
In this small post we shall explore Terracotta, a leading pure Java Scalability platform. The discussion is based on the AtomicInteger example from Terracotta site, which shows how to implement a Cluster wide id generator (Actually it’s the Sequencer example, but to keep my steps simple had used AtomicInteger). The reason why I choose this [...]

Continue Reading

06 January 2009 ~ 4 Comments

[MPXJ Series] Writing MS Project File using MPXJ

In the first part, we shall explore what are the different ways of writing a MS Project file using MPXJ.
Pre-requisite
The article assumes that you have downloaded MPXJ release and related dependencies. If not here are the links for download
 

MPXJ - http://sourceforge.net/project/showfiles.php?group_id=70649
Dependencies - http://mpxj.sourceforge.net/dependencies.html

Now let’s get back to the original intent of reading MPP files
Lets see [...]

Continue Reading

Tags:

16 December 2008 ~ 0 Comments

[MPXJ Series] Reading MS Project Files using MPXJ

It’s been a while since my last post on using MPXJ. You can find it here. Since then have been observing the search items and have found that need to have some simple posts related to MPXJ. So starting a series on MPXJ, which I shall keep updating as and when I learn more about [...]

Continue Reading

28 October 2008 ~ 1 Comment

Implementing Trap Sender using SNMP4J

In this post, we shall implement a Trap Sender using SNMP4J. We may choose to use Apache MINA for sending Traps or can resort to using DatagramSocket class directly.
This shall be the logical flow of the implementation

Get the encoded Trap Data
Send the Trap 

Lets look at the first component, on getting the encoded Trap data
 

The code [...]

Continue Reading

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 our [...]

Continue Reading