About m.u.t.e
m.u.t.e. is a collection of java classes that are designed to be the foundation (or starting point) for creating any kind of client/server application involving multiple users. This can involve anything from a very simple messaging system to a complete adventure/fantasy multi-user gaming system.
More specifically, m.u.t.e. aims to provide the main building blocks that would make up any client/server framework.
For many purposes you will be able write code to handle incoming/outgoing events without having to worry about handling the socket i/o operations.
Some of the features of the m.u.t.e framework include:
- All source code is available at Subversion repository.
- XML configuration and mapping (uses custom xml parser)
- Networking code based on the java nio package
- Multiple protocols can be defined for each server instance
- Server can have more than one service running at the same time (on different ports of course)
- Uses event based model for handling requests and responses.
- Separate read and write event queues each with their own configurable Thread pools.
- Several example Protocol, Event, and Controllers are provided, including a simple http server.
- Very small code base, the standard jar file weighs in at just over 80kb
Contains several "extension" points to plugin your own custom code:
Protocol:
For reading and writing event data using a socket channel
Event:
Encapsulates the socket channel request or response data
Controller:
Contains the code/logic for processing events incoming events