Forums Register Login

Jabber vs. JMS

+Pie Number of slices to send: Send
I'm working on a project where we're planning on using 'events' to notify different users REAL TIME of changes in entities they have expressed an interest in. Currently we have focussed on JMS to manage these 'events' but I've been looking into Jabber this weekend, thinking it might have possibilities.

Has anyone ever compared these two technologies - advantages vs. disadvantages? Anyone had experience in development using Jabber in an Enterprise application?
+Pie Number of slices to send: Send
Moving this question to
EJB and Other J2EE Technologies forum.
+Pie Number of slices to send: Send
I don't know Jabber, but Jabber and JMS seem to offer different qualities of service, so it depends what you need. JMS will give you assured delivery (i.e. guaranteed "once and only once") with persistent delivery mode, or "at most once" with non-persistent (yeah, I know about DUPS_OK, but I don't want to complicate it!). It can even be transactional, although it doesn't sound like you need it. You can use durable subscribers to store messages for clients even when they are offline (or if they crash and restart).

As far as I can tell from the website Jabber seems to have no quality of service guarantee, so you're not sure if your message will arrive or not. The client will also need to be online to receive. These may or may not be a problem for you.

Apart from that there's the usual JMS 'advantages' - J2EE (easy to publish to an MDB, for example), standards, provider-independence etc...
+Pie Number of slices to send: Send
Thanks for the reply, Ben. Sorry I couldn't offer you more details as the the nature of the requirements, but I didn't know them myself.
Are you here to take over the surface world? Because this tiny ad will stop you!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1038 times.
Similar Threads
JPasswordField Vs. JTextField
Jabber and SSL?
Global VS trees
JAbber InfoBroker
Java vs J2EE vs... huh?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 19:33:29.