NLJUG member

Calusa Socket Server

Calusa Logo

Calusa is a Java class library which takes away the worries of socket programming and issues like multi-threading.
An instance of Calusa is a simple server that opens sockets and listens at those sockets. Calusa provides you with an incoming and an outgoing channel through a Java interface (CommHandler). Those channels can be used to communicate with the peer on the other side of Callusa.
Calusa takes care of multi-threading, listeners and lowlevel session management. You only have to worry about the dialog with the peer.

Calusa can be used to setup very simple telnet-like servers. But more advanced applications like webservices are also possible. This is because Calusa doesn’t care about protocols, dialogs, high level handshaking. That’s your show.

Calusa main features:

  • IPV4 support
  • IPV6 support
  • Multiple listeners (port listeners) per instance
  • High perfomance. Because of low overhead
  • Possibility to attach one CommHandler to multiple listeners. (Multi port applications)
  • General or IP specific bind per listener
  • Multi-threading CommHandlers. Listeners can handle multiple simultaneous connections.
  • Basic IP security. Allow certain connections based on peer network.
  • Low level logging to stdout. This can be captured and redirected by using the provided interface.

The Calusa project is a closed source project for the time being. This is to prevent forks of the project because of possible inmaturity of Calusa. When Calusa is mature enough the project will be relicensed to an OSI certified OSS license.

The Calusa binary will be freely available for download as soon a working version is available. Come back soon.

Copyright (c) 2010 – Patrick Brunier