Enterprise Integration Pattern

Source: Internet
Author: User
Tags ibm mq

Recently, I have read Martin Fowler's enterprise integration pattern and learned a lot about message system-based application integration. Although the previous work involves ibm mq, the experience is not very deep. In the integration of different applications and distributed environments, message-oriented middleware has advantages in reliability. This is exactly the opposite of my first impression. I used to think that the message would always be like a letter. Maybe it would sink into the sea? Which of the following synchronous methods can be used, such as making a phone call? Think twice, but it is not. The synchronization mode relies too much on distributed applications, the communication parties are online at the same time, the network is reliable, and load is secure (do not press too many requests. In these aspects, message-oriented middleware is advantageous. Message-oriented middleware decouples message producers and consumers. The system that sends and receives messages only needs to deal with message middleware.

 

I remember that I had implemented a message system in a previous project. In j2se, multiple applications communicate through messages. It is mainly implemented through the RMI and observer modes. In retrospect, is it a distributed messaging system? The difference is that the sender and receiver are coupled. For example, the sender (subject) maintains a listener list (RMI callback Interface) of the receiver, and calls back the list and RMI interfaces when sending messages.

 

When I think back to my previous experiences, a manager talked to me about SOA and kept challenge. What are the benefits of the SOA framework in my project. He means that JSP is used in the current project, and Servlet layers are used very well. Then I will talk about this problem from the perspective of loosely coupling and reuse. The SOA framework decouples service integration (through ESB ). Just as spring encapsulates the creation and maintenance of objects, we can eliminate them on our own.ProgramUsing factory and Singleton to create objects, the framework helps us do this part.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.