What is Java Message Service (JMS) for?

前端 未结 8 1965
[愿得一人]
[愿得一人] 2021-01-30 02:19

I am currently evaluating JMS and I don\'t get what I could use it for.

Currently, I believe this would be a Usecase: I want to create a SalesInvoice PDF and print it w

相关标签:
8条回答
  • 2021-01-30 03:11

    I've used it on a number of projects. It can help with scalability, decoupling of services, high availability. Here's a description of how I used it on a project several years ago:

    http://coders-log.blogspot.com/2008/12/favorite-projects-series-installment-2.html

    The description explains what JMS brought to the table for this particular project, but other projects will use messaging systems for a variety of reasons.

    0 讨论(0)
  • 2021-01-30 03:12

    JMS is a message-oriented middleware.

    • Why would a need a Standalone Server for Message Processing, vs. e.g. some simple inproc processing with Quartz scheduler?

    It depends on what other components you may have. I guess. But I don't know anything about Quartz

    • How does it interact with my application?

    You send messages to the broker.

    • Isn't it much too slow?

    Compare to what ?

    • What are Usecases you already implemented successfully?

    I've used JMS to implement a SIP application server, to communicate between the various components.

    0 讨论(0)
提交回复
热议问题