Erik, Leon and Jason, thank you very much for your answers. I think we will develop our own system (we need a messaging system integrated with our system: our table of users, our forms, ...), but we have no experience with sockets, ServletSockets, Threats ... We are goog developing business software (data base access, transactions, reports, ...)
I found a book that seems a good point to start : Instant messaging in Java: The Jabber protocols We are looking for a system to start to work with it (we expect to find it in that book). One important requirement is that this software must run on Internet not only in a Intranet. Yours, Miquel Angel Seguí -----Mensaje original----- De: Erik Weber [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 04 de mayo de 2005 18:39 Para: Struts Users Mailing List Asunto: Re: [OT] Recommendation of Instant Messagging System I just finished putting together a system with a Swing client and combined services over XMPP and HTTP. 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 Rosenberg >>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 >> >> >messages > > >>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. >> >>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 >>> >>> >1.4). One > > >>>of the requirements is to implement an instant messaging system for >>> >>> >the > > >>>users of the site (the system should not be very complex). Do you >>> >>> >mind to > > >>>share your experience in using this system. We are looking for free >>> >>> >or non > > >>>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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]