Archive | Application Programming

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: , ,

20 October 2008 ~ 13 Comments

Implementing UDP Client using Apache MINA

Its been a while that I wrote on Apache MINA. Please refer to my post collection on Apache MINA. In this post, I have tried to capture briefly on how to implement a UDP Client using Apache MINA. We shall concentrate on keeping our scope limited to sending data over UDP. In Subsequent posts, we [...]

Continue Reading

14 October 2008 ~ 6 Comments

Apache MINA based Server Application Architecture

Apache MINA is one of the best available NIO Frameworks for creating scalable Server applications in Java. Its fun to create applications using MINA.  Lets have a look how the application architecture looks like Lets briefly see what the Major components are IO service – The API’s at this level are responsible for performing actual [...]

Continue Reading

14 October 2008 ~ 0 Comments

Mocking – the interpreted way

Mocking is a subject extensively covered and used heavily in Unit Testing. There are number of Mocking frameworks available today, ranging from Static Mocking to Dynamic Mocking, and the latest additions are AOP based Mocking Frameworks. Had been Coding for a few years now and at that time, JUnit has just made its entry. Wow! [...]

Continue Reading