In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
The full name of ESB is Enterprise Service Bus, that is, Enterprise Service bus. It is the product of the combination of traditional middleware technology and XML, Web service and other technologies. ESB provides the most basic connection center in the network and is a necessary element to build the enterprise nervous system. The emergence of ESB changes the traditional software structure and can provide cheaper solutions than traditional middleware products. at the same time, it can also eliminate the technical differences between different applications, make different application servers operate harmoniously, and realize the communication and integration between different services. Functionally, ESB provides event-driven and document-oriented processing modes, as well as distributed operation management mechanisms. It supports content-based routing and filtering, has the ability to transmit complex data, and can provide a series of standard interfaces.
1. Five basic functions of ESB:
1) MetaData management of services: manage the registration, naming and addressing of services within the bus category.
2) Transport services: ensure the correct delivery of messages between business processes interconnected through the enterprise bus, including content-based routing capabilities.
3) Mediation: provide location-transparent routing and location services; provide multiple forms of message delivery; support widely used transport protocols.
4) Multi-service integration: such as JCA,Web service, Messaging, Adaptor and so on.
5) support for service and event management: recording, measuring and monitoring data for invoking services; providing event detection, trigger and distribution functions
II. ESB principle
Channels-Messaging applications transfer data through a Message Channel, a virtual pipeline from sender to receiver. A newly installed messaging system does not contain any channel; by default. You must know how your application needs to communicate before you can set up a channel to complete it.
Messages-Message is an indivisible packet transmitted over channel. Therefore, in order to transfer data, the application must package the data into one or more packets, wrap each packet into a message, and then transfer it to a channel. Similarly, a receiver application must extract data from the message before it can be used after receiving the message. The Message system should be able to transmit message repeatedly until it succeeds.
Pipes and Filters-in the simplest case, the message system sends a message directly from the sender computer to the receiver computer. However, there are usually actions that need to be performed on the message after the message is sent from the sender and before the receiver receives it. For example, message may need to be validated or transformed. The Pipes and Filters architecture uses channel to connect multiple processing steps.
Routing-in a large enterprise application with many different applications and channel connections, a message may need to traverse multiple channel to reach its final destination. The routing of the Message is so complex that the original sender cannot know which channel can transmit the message to the final receiver. Therefore, the original sender sends the message to a Message Router, an application component that exists in the form of filter in the Pipes and Filters architecture. Router will decide how to send the message to the final receiver or at least the next Router.
Transformation-data formats may vary from application to application. In order to adjust the problem of different data formats between sender and receiver, message must go through an intermediary filter, a Message Translator, which converts message from one format to another, or to a common format.
Endpoints-most applications do not have the built-in ability to interact with a message system. So they must include an intermediate layer that knows how the application works, how the message system works, and bridges the two systems. The system is a set of juxtaposed Message Endpoints that enables applications to send and receive message.
System manager-as a large-scale message integration system, its message-oriented, asynchronous and low-coupling nature makes the system more difficult to debug and the run-time status is also difficult to track. Therefore, we must have powerful means to manage and monitor the run-time of the system, and it is best to be able to update dynamically in operation to ensure the robustness of the system.
Enterprise application integration is a huge and complex system, as its basic component, ESB system, must be able to provide complete support and strong enough system, which is the difficulty of ESB system construction.
Third, take your company's integrated system as an example to configure ESB services
1. Start the command: (start with the command line)
Linux / Unix:. Synapse.sh-sample 0
Windows: synapse.bat-sample 0
(sample 0 represents the XML configuration in synapse-2.1.0\ repository\ conf\ sample with different functions, where synapse_sample_58.xml represents load balancing)
2. Modify the ESB startup port
Find it in synapse-2.1.0\ repository\ conf\ axis2.xml
TransportReceiver name= "http" class= "org.apache.synapse.transport.nhttp.HttpCoreNIOListener" > 8280 true, modify the Port value in it
3. Modify the application address corresponding to the load balancer:
Synapse-2.1.0\ repository\ conf\ sample\ synapse_sample_58.xml
Each MEMBER represents an address, which requires several applications to load, so add several MEMBER addresses
4. If you run this system modification:
5. If you start multiple services, you need to change: # Default is to autodetect free port starting at 1099; change it to meet your deployment requirements!
Synapse.jmx.jndiPort=1199
6. Start the service under the command line
> d: enter-switch to d disk
D... > dir-shows all files
D... > cd press tab to select the desired file enter-- switch to the selected folder
D... > cd press the tab key to select the desired file enter-- enter under the selected folder
D. > cd bin
D. >
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.