Link to home
Start Free TrialLog in
Avatar of suprapto45
suprapto45Flag for Singapore

asked on

JMS Question

Hi experts,

I want to understand the concept of JMS (Java Messaging Service). What is the main usage of JMS? Can you all provide me the real example or situation on how the JMS is used?

Can all be achieved using Servlet?

Thanks

Regards
Dave
ASKER CERTIFIED SOLUTION
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
>>Can all be achieved using Servlet?

No, although a servlet could intervene in the chain somehow
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of suprapto45

ASKER

Thanks.

Any real condition or situation where JMS are used?

Regards
Dave
JMS is often used in J2EE application servers in connection with message-driven beans
Yes,

Mmmm.....

okay so when do we use JMS? In what circumstances? For example, in checking whether the user has logged in or not, we can use filter in Servlet and etc. When can I use JMS?

Regards
Dave
If you mean how can you use the user's having logged on in conjunction with JMS, you could send a message to that effect with JMS. Any receivers registered for that topic with JMS would get the message
Thanks

Regards
Dave
:-)