1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

Tutorials

The server and client tutorials are attached to this page in Open Office format. They give a good introduction to the architecture and philosophy of RedDwarf and are a good place to start. Developing for RedDwarf is quite different from many other platforms and while very effective once understood it can take a little time to adjust to.

NOTE: Although the tutorials are substantively correct and still the best place to start, the code examples are slightly out of date. All the updated code examples are in the tutorial directories of the server and client downloads.

Documentation

Introduction Interview An interview from the Project Darkstar days that gives a good introduction to a lot of the concepts behind Project Darkstar/RedDwarf.

Server Properties This is a direct link to the Javadoc page listing the configurable RedDwarf? server properties.

Writing Services: A grab of Seth Proctor's classic blog series on the subject.

Writing Protocols and Transports: Documentation on writing transport and protocol plugins

Flash Policy Files: Information on Flash Policy Files

SQL Interfacing: Information on accessing SQL Servers

Server VM Options: How to modify the options used to start the RedDwarf server.

Writing Extensions: Information on using the "extensions" feature to automatically register new functionality with RedDwarf.

Long Execution Tasks: Performing tasks that take too long to be processed in a single transaction.

Asynch Task Service: A sample service that also allows other services to be built on top of it.

Custom Authentication: Implementing custom authenticators within RedDwarf

!RedDwarf Ids: Ids of Managed Objects within RedDwarf

Enabling Java !BDB : How to switch from the C implementation of BDB to the Java one.

Examples

Source code for RedDwarf? based games you can examine and modify

The tutorials contain small "toy" examples. Additionally the following projects are available for download:

Project Snowman This is a full, highly scalable action game written using JMonkeyEngine and the RedDwarf? server.

Attachments