Get the message -- Don't overlook Java Messaging Service

Get the message -- Don't overlook Java Messaging Service

An often overlooked by essential part of the J2EE is the Java Messaging Service API, or JMS. When building enterprise systems and adopting IBM?s Model/View/Controller development model, it becomes apparent that not all business transactions must be completed in real-time. JMS offers "near real-time" processing capabilities that can offload resource-intensive processing to back-end systems or defer the processing to a separate thread or process.

In an insurance application, an independent agent may submit an application for insurance. The insurance company needs to perform extensive processing to determine if the application meets its underwriting criteria and to prepare a price quotation for the agent. Using JMS and IBM?s MQ/Series, which is IBM?s underlying implementation of JMS, you can guarantee that the message (the insurance application) is received by the company, the appropriate processing code is invoked to handle the business logic, and that a response is returned to the independent agent.

JMS is supported as part of WebSphere 4.0 with J2EE support, and it is bundled separately with MQ/Series. IBM?s implementation offers guaranteed delivery of messages.

As you review your applications requirements, you will find many uses for messaging. JMS and IBM?s MQ/Series offer near real-time processing that may better suit your requirements than other Java program-to-program communications facilities. In some industries, it is necessary to extend

    Requires Free Membership to View

    Register today to access targeted resources from our editorial writers and independent industry experts including news, tips, and advice to help you do your job more efficiently and effectively. Stay informed on the hottest topics and biggest challenges faced by IT professionals working with iSeries products and services.

    By submitting your registration information to Search400.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of Search400.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

your thought about transactions over several days, over the interaction between multiple computer systems, programs and humans. JMS can manage complex transactions very effectively.

For details on the JMS API with sample code and detailed instructions visit http://www.java.sun.com/products/jms/.

IBM?s support for JMS may be found at http://www-4.ibm.com/software/ts/mqseries/api/mqjava.html.

-------------------------
About the author: Bob Cancilla is managing director of IGNITe/400, an electronic iSeries 400 Internet users group. He is also author of the book Getting Down to e-business with AS/400

---------------------------------------------------------
FREE EXPERT ADVICE
---------------------------------------------------------

Do you have questions about WebSphere and Web development? Post them in our .26RlaSVDeTg^1@.ee84637>WebSphere/Web Development Discussion Forum. Here you'll get advice from our site experts who monitor the forum, as well as ideas and suggestions from your peers.

You may also read the Web development advice our experts have given in our Ask the Expert section.


This was first published in August 2001

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.