TransJam - Jammin' on the Web!
What is the Transjam Server?
The Transjam server is a 100% Java program that runs on the same computer as the HTTP web server. Clients log in to the server and communicate using TCP/IP sockets. The client programs are written in Java (or 'C') and can be run in a web page as an Applet. This allows interaction between multiple people who are accessing web sites on the same machine. Interaction may consist of chatting, game play, music performance, collaborative design, etc.
Why do we need a server for multiple people to interact?
Java Applications can connect to any computer on the Internet and interact freely. Java Applets, however, can only connect to the computer that is hosting the Applet for security reasons. So if an Applet running on one person's computer wants to communicate with another Applet on another person's computer, they must communicate through the central server.
What is a Lobby and a Room?
When a person first logs in to the Transjam Server, they enter a "lobby" where they can meet other people who are sharing the server. Users can then join other users in a "room". If the Application was a Bridge game, then a room could have a maximum of four people. Users can join an existing room or create a new one.
What activities does the server support?
The client software determines the nature of the application. The server is generic and simply provides application neutral interaction services to the clients.
What types of communications can occur in a room?
Clients can send commands that look like XML elements. Commands include:
Where is an example Transjam program?
An example program, the WebDrum, can be found at: "http://www.transjam.com/webdrum/". It allows multiple users to share the editing of a drum pattern. A drum track can be owned by one person at a time and edited by the owner. Each user will see the same pattern as it is being edited, but the client machines are not synchronized. Editing a looping pattern is a good way to avoid the problem of network latency which would otherwise make live jamming very difficult.
TransJam, JSynTM and the WebDrum are
products of SoftSynth.com. (C) 1997-2014
Hosted on Amazon EC2