Hey guys, I haven’t hung out here very much, but if there’s much interest in discussion of this project here that will change. :-p
I just wanted to announce that JavaGameNetworking API version 1.04 has been released:
http://javagamenetworking.dev.java.net
New features include:
- Client / Server convenience classes
- Built-in ping
- Server Registry - simple extension of JGN that provides games a single location for servers to register and clients to get the list of currently available servers for that game
- OrderedMessage - ability to specify a sequence of arrival of messages and guarantee that order will be maintained in delivery
For those of you who have not seen JGN previously this is a basic list of features:
- All communication is currently done with UDP
- Message object is the root of all communication and can be extended with simple getter/setter methods to produce serializable beans, but with much less bandwidth usage
- CertifiedMessage extends Message and provides guaranteed delivery over UDP
- Flexible API that can provide extremely fast sending and receiving of messages that is architecture agnostic. Fully capable of working with peer-to-peer
- Ability to utilize Eclipse’s JDT API for dynamic generation, compilation, and utilization of classes to increase performance
- Performance tested to send and receive messages in excess of 20/second
- Event driven system for receiving and sending messages (addMessageListener, addMessageSentListener)
- Various tests/examples that show the simplicity of use
I am very interested in getting good feedback to make this API better. My goal with this project is to provide an extremely powerful, easy to use, flexible networking API for Java games that allows the developers to spend less time considering networking issues and more time writing games.
-Matt Hicks