I was given the task to develop sending messages to the broker and receiving from there in the java programming language using Java Message Servise. The fact is that I have never worked on development under JAVA EE, the maximum that I did was a simple REST service using SPRING. Tell me in which direction to look and where to get information on this issue? And another question, is it necessary to use any brokers like ACTIVEMQ to solve this problem? Do brokers run through the tomcat container and others or in some other way?
- How do you hope to do without using a broker in the task of sending messages to the broker? .. - Pavel Mayorov
- I do not hope to do without using a broker, I’m wondering if there is a good tutorial in which you can see the implementation, a book or some other source - Evgeny Dementyev
- Java EE has a so-called Web profile and Full platform. Web profile does not oblige the server to support JMS, and tomcat, implementing only the Web profile, does not support it. Without an external broker can not do. But you can use the server Full platform, which have a built-in broker, for example, Wildfly 10 uses the built-in ActiveMQ. In fact, it all depends on the job. If there is freedom of choice, it is better to do for the Full platform. Less to understand if the receiver and the transmitter of messages should work in the same server. - Sergey
- @EugenyDementev I think that you hit :) JMS is one of the most difficult and at the same time popular parts in J2EE (as opposed to enterprise beans) - so good luck. - Barmaley
|