Marauroa Chat Tutorial: Difference between revisions

Content deleted Content added
imported>Merlin
No edit summary
imported>Merlin
mNo edit summary
Line 3:
 
You will also need
* JDK ([http://java.sun.com/javase/downloads/index.jsp Sun download page])
* MySQL database on the server side ([http://dev.mysql.com/downloads/mysql/5.0.html#downloads MySQL download page])
== Server ==
=== Code ===
Line 585:
== TODO ==
As soon as you finished reading this tutorial you would probably like to make one of this exercises. You are welcome to introduce your results back to the tutorial.
* It is natural to have several chat rooms. It is easy to implement - each room should be represented with a new RPZone. You will need new actions for room creation (you automatically join a newly created room), joining a room and leaving a room. Server should delete empty rooms at once.
* The turn stamps on the messages are not used currently. Actually, server should keep some fixed amount of messages per room (say, 100). Clients should use turn stamps to sort messages.
* Connect button for Swing client should bring up a dialog with connection properties, e.g. hostname, port, username, password, email (if you create a new account).