Return to search

JMS communication : Communicating with a legacy JMS broker using JavaScript

The objective of this thesis is to research how to use JavaScript to communicate with a legacy JMS broker, specifically OpenMQ 4.1 and implementing a proof- of-concept of this. This proof-of-concept should be able to send and receive JMS messages. The necessary preparations for designing this application was to research possible ways of communicating with different JMS brokers using oth- er languages than Java. This research showed that the only viable method in or- der to communicate with this version of OpenMQ is to create a Java bridge be- tween JavaScript and the JMS broker. The results shows that it's possible to use JavaScript to communicate with OpenMQ 4.1 by using a Java Bridge together with NodeJS. This result is performed by making an integration test, by first sending a message with a certain ID to the API and then receiving a response at the intended response destination with the same ID. The front-end of the proof- of-concept provides a web application UI for performing this integration test. Future improvements of this implementation can be done by extending the Java Bridge and API in such a way that it can be used against many different JMS brokers. The configuration data used can also be stored in more reliable ways, if multiple users are using the API and web application at the same time, for example by using a database instead of JSON files.

Identiferoai:union.ndltd.org:UPSALLA1/oai:DiVA.org:miun-31078
Date January 2017
CreatorsBylund, Patrick
PublisherMittuniversitetet, Avdelningen för informationssystem och -teknologi
Source SetsDiVA Archive at Upsalla University
LanguageEnglish
Detected LanguageEnglish
TypeStudent thesis, info:eu-repo/semantics/bachelorThesis, text
Formatapplication/pdf
Rightsinfo:eu-repo/semantics/openAccess

Page generated in 0.0019 seconds