ngocdaothanh / telchat-clojure

Super simple chat program in Clojure: server = JBoss Netty, clients = telnet

This URL has Read+Write access

name age message
file README Fri Oct 16 01:35:46 -0700 2009 Update README to refer to telchat-scala [Ngoc Dao]
file pom.xml Wed Oct 14 21:18:59 -0700 2009 Remove Makefile for Windows friendliness [Ngoc Dao]
directory src/ Wed Oct 14 19:43:30 -0700 2009 Use clojure:run provided by clojure-maven-plugin [Ngoc Dao]
README
This is only an exercise of a Clojure newbie:
* Chat server: JBoss Netty
* Clients: telnet

== Usage

* mvn compile to compile Java file, you must have Maven2
* mvn clojure:compile to compile Clojure files, optional, only for static syntax check
* mvn clojure:run to start server on port 3000
* telnet localhost 3000 to connect to the server

== Notes

If you have problem compiling Telchat, make sure you are using Sun Java, not
OpenJDK (usually much slower). On Ubuntu:
* sudo apt-get install sun-java6-jdk
* sudo update-alternatives --config java

Comments are very welcome. Please write in Issues:
http://github.com/ngocdaothanh/telchat-clojure/issues

See also:
http://github.com/ngocdaothanh/telchat-scala