EJB - instant messaging

I'm interested in programming a simple kind of instant messaging service. Currently I'm looking for a way to use EJBs for this job... but I can't figure out how this would work or even which kind of beans I should use.

Where I got so far is that there is one client sending text messages to a message driven bean on a server.

The problem is that that's only half of the way. I need the server to send each message to another client spicified by the sender...

I hope this was not too confusing.

I would be very thanful for any kind of help.

thx

[588 byte] By [Platypusa] at [2007-10-2 21:50:25]
# 1
MDB will solve all ur porblems.......regardsShanu
mshanua at 2007-7-14 1:06:12 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2
That's good to hear - but how does it work?How can I specify a recipient?
Platypusa at 2007-7-14 1:06:12 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 3
U have any idea of JMS?
mshanua at 2007-7-14 1:06:12 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 4

I know a little about JMS, but I'm rather new to the more advanced Java-Stuff ... I haven't yet got a solide understanding of how all the components work together.

What I need to do is sending messages from one client to another.

A message always goes only to one recipient. But it doesn't have to be the same recipient for each message. - like SMS or something..

Platypusa at 2007-7-14 1:06:12 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 5
Just go through JMS tutorial..which u can get for plenty if u google it..try get a basic knowledge.....regardsShanu
mshanua at 2007-7-14 1:06:12 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 6
Ok, well I read tutorials before, but doing it again wont hurt...So you think it should work with MDBs and JMS?
Platypusa at 2007-7-14 1:06:12 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 7
If u want some messaging schemes and also need to be done in Java..no doubt only one word..JMS........regardsShanu
mshanua at 2007-7-14 1:06:12 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 8
i understandThanks!
Platypusa at 2007-7-14 1:06:12 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 9
This might also help you a little bit: http://www.onjava.com/pub/a/onjava/excerpt/jms_ch2/index.html?page=2Regards,Barry
bvansomerena at 2007-7-14 1:06:12 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...