Archive | December, 2008

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

15 December 2008 ~ 1 Comment

Multi Threaded Trap Receiver using SNMP4J

The entry briefly touched upon creating a multithreaded Trap receiver using SNMP4J. This is based on example shipped with SNMP4J Pre-requisite  SNMP4J  Log4j Structure For complete source have a look at the class org.snmp4j.test. MultiThreadedTrapReceiver.java shipped with SNMP4J distribution Logical structure of the program Create Socket for accepting Traps Create a Thread pool to process [...]

Continue Reading

09 December 2008 ~ 0 Comments

Using Auto expanding and shrinking IoBuffer in Apache MINA

Networking applications always need ByteBuffer that can expand on the need basis. Java ByteBuffer doesn’t provide this feature. Fortunately, MINA’s IoBuffer class has implemented this much needed feature. Creating Auto Expanding Buffer IoBuffer class in MINA has a property autoExpand, which when set makes the IoBuffer expand on the need basis, very much similar to [...]

Continue Reading

04 December 2008 ~ 0 Comments

How I learned Apache MINA internal?

This is a very short post. The idea was to share how I learned some basic things about Apache MINA. LoggingFilter provides a very good way of how MINA process a incoming requests. Add the LoggingFilter in the chain and enable logging. As soon as it receives a packet, watch out the logs, it provides [...]

Continue Reading

Tags: