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
LVL 16
suprapto45Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

CEHJCommented:
JMS is used to provide durable synchronous or asynchronous messaging:

http://mindprod.com/jgloss/jms.html

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
CEHJCommented:
>>Can all be achieved using Servlet?

No, although a servlet could intervene in the chain somehow
Introduction to R

R is considered the predominant language for data scientist and statisticians. Learn how to use R for your own data science projects.

suprapto45Author Commented:
Thanks.

Any real condition or situation where JMS are used?

Regards
Dave
CEHJCommented:
JMS is often used in J2EE application servers in connection with message-driven beans
suprapto45Author Commented:
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
CEHJCommented:
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
suprapto45Author Commented:
Thanks

Regards
Dave
CEHJCommented:
:-)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.