I think Leon's suggestion of doing your own is not bad, if you are good with Sockets, ServerSockets, XML APIs and Threads (find a good tutorial on building a chat system such as in the ubiquitous "Thinking in Java"). There is also JMS which gives you a low-level core. If you want something higher level, just get Smack from jivesoftware.com, which will give you an OO interface to Jabber (XMPP). Then get jabberd from jabber.org. jabberd 1.4 is small, written in C and gets the job done for what you are talking about, so I would start with that. They are working on the 2.0 "enterprise" version.
I will warn you that while Smack is a great library (you'll get classes such as "Chat", "Packet", "Message", "Presence", etc.), there are some pitfalls related to Threading to watch out for. I rewrote about a half dozen of the core classes. Fortunately, Smack operates with just two main disptach Threads so once you spend some time with the PacketReader and XMPPConnection classes, you'll figure it out. Apache license, too.
Erik
masegui wrote:
The requirements are these: 1. A user has a list of the other users in the system. He can click a button that initiates a conversation with the selected user. The other user can accept or not the conversation. If accepts, a "chat room" is opened and now then can have a conversation. The rooms only accept 2 people. We would like a user to be able to have several conversations at a time, but each conversation only between 2 people.
Thanks in advance.
Miquel Angel Segui
<-----Original Message-----> From: Leon Rosenbergmessages
Sent: 4/5/2005 10:50:38 AM
To: user@struts.apache.org
Subject: Re: [OT] Recommendation of Instant Messagging System
if your only functionality is to allow users to send each other
which are embedded in the site (html, or something, but no standalone-desktop solutions) forget about existing systems and implement it by yourself. I have implemented dozens of such systems over the time, it's normally about 100 locs, much less effort than an integration of an existing system is.1.4). One
maybe you could tell us a bit more, about the requirements of the system, so we could give you more specific answer.
regards Leon
On Wed, 2005-05-04 at 08:13 +0200, Miquel Angel wrote:
We are developing an application (struts 1.1 + Tomcat 5.5 + Java
theof the requirements is to implement an instant messaging system for
mind tousers of the site (the system should not be very complex). Do you
or nonshare your experience in using this system. We are looking for free
free systems.
Thanks in advance.
Miquel Angel Segui
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]