• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

Why there is so hype of JMS in just to send a message? Please give some explanations..

Ranch Hand
Posts: 165
Tomcat Server Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Why JMS is used to send messages? Why not we just send emails, or text strings? Is there any difference?
Using JMS and sending messages, does it mean that we are sending the messages across different applications or within an application between components like form bean-dao, etc?
Why so hype is there in just sending the message using JMS?
It is not like that I have not made any effort in understanding JMS but still have some questions about JMS. I know JMS is that MOM(message oriented middleware server) which has DO(destination objects) so MOM server has atleast 2 clients either of the side. Sender and Receiver. There can be N no. of senders/receivers connected with same or multiple DO in MOM server.
JMS has two mdels:-
1) Publisher/Subscribers - here DO is topic. In this, every messages sent to DO from every senders are received by every receivers
connected with the same DO.
2) Point-to-point - here DO is queue. In this, every message sent to DO from any/evry sender is received by only one receiving client
although there can N receivers but only one will get.

These communication is known as asynchronous because sender client has no concern about the receiver client whether receiver is up or not. On the other hand synchronous communication is your RMI which is a tightly coupled communication where both sender/receiver must be in sync, active, listening and must know each others credentials to connect with.

Only 5 types of messages can be sent over JMS:-
1) Text messages
2) Stream
3) Byte
4) Object
5) Map messages

JMS can be used in CRM/Inventory control systems.

I know this much only. I'm new to this. Please add if I have left or missed something
I want to run some examples also. Please suggest me some good applicaition servers. Can I use eclipse to test JMS?

Please explain me breifly.
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic