Archive | Apache MINA

08 June 2009 ~ 0 Comments

MINA vs Netty – A User’s perspective [Part 2]

Back with the series. Its going to be quick and small post. Would focus around similarity on these two frameworks Both are NIO frameworks Trustin has been part of both Frameworks, lately contributing to Netty (Thanks to Emmanuel for pointing this out) Both uses Annotation, though in MINA this is more in area of MINA State [...]

Continue Reading

02 April 2009 ~ 2 Comments

MINA vs Netty – A User’s perspective [Part 1]

Have came across this topic a lot, which is better MINA or Netty. Wanted to see what works out well from a User Perspective, thought about trying both Frameworks, from an End Users perspective. This series shall not just find difference, but find similarities in both frameworks as well. Before I continue, the opinion expressed [...]

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:

21 November 2008 ~ 0 Comments

Apache MINA – Blacklist Filter Explained

Blacklist filter blocks connections from the blacklisted remote Addresses. The filter is very useful, for dropping the connection originating from addresses, not of interest. Useful API’s setBlacklist(InetAddress[] addresses) – Sets a list of IP Addresses that needs to be blocked. This API call clears all the previously added Addresses setSubnetBlacklist(Subnet[] subnets) – Sets a List [...]

Continue Reading