Middleware study-understand what middleware is

Source: Internet
Author: User

I. Middleware implications : The median price is a common service that is located between various platforms (hardware and operating systems) and various applications.

Help your application achieve efficient, reliable messaging
Enables easy interoperability between applications
Build enterprise applications efficiently and reliably
Enable rapid setup and deployment of distributed applications
Note: Middleware is software, between application software and system software, is a kind of software, not one.


Two. Advantages of middleware

User Service layer: Provide information browsing, service positioning, the main implementation of user interface, to ensure the user interface of the friendliness and unity
Business Processing layer: Implementing all of the customer's business logic
Data Service layer: The realization of data definition, storage, backup, retrieval and other functions. The main database system is implemented.

Cases:

Widely used standard structure: the user accesses a standard browser through the Internet and the HTTP protocol to access the Web server provided by the Service party, the Web server resolves the user's browser request, if the page request, the user to browse through the HTTP protocol page. If there is a request for database operations (modify, add records, etc.), then this requirement is passed to the middleware between the Web server and the database, the middleware then requests the operation from the database, the result is returned to the Web server, the Web server forms the result of the database operation into an HTML page, and then returns to the browser.

1.CGI (Public Gateway Interface)
is a standard for various programs on a Web site that can be used to access the user interaction of a Web site (allowing users to access the database on a browser and complete various database operations)
Disadvantage: Execution is inefficient because the Web server supports concurrent access, and a CGI process is started for each data query request
2.ASP (Active Sever Pages)
ASP is an open application environment
3.JSP (Java Sever Page)

Three. Middleware Domain Division
Generally divided into two categories:
The bottom-level middleware is used to support a single application system, the middleware of transaction middleware, application server, message middleware and database access middleware are commonly used.
High-level middleware for system integration, including enterprise integration Middleware, workflow middleware, portal middleware, etc., often interacting with multiple application systems

In addition, there are application middleware, business architecture middleware, mobile integrated middleware, data volume access middleware and so on.

Cases:

    1. Transaction processing (tp:transactionprocessing) Monitor: Provides monitoring capabilities for transactions that occur between objects to ensure successful implementation of the operation.
    2. Distributed computing Environment (Dce:distributedcomputingenvironment): Refers to the set of technical services required to create a distributed application running on a different platform.
    3. Remote Procedure Call (Rpc:remoteprocedurecall): refers to the standard that a client needs to send a request to a server to run a program.
    4. Object Request Broker (Orb:objectrequestbroker): Provides an interface for users to communicate with objects in other distributed network environments.
    5. Database access Middleware (Databaseaccessmiddleware): Enables users to access databases in various operating systems or applications.
    6. Information Transfer (messagepassing): An e-mail system is one of the middleware types.
    7. XML-based middleware (Xml-basedmiddleware): XML allows developers to create documents to enable the exchange of structured information over the Internet.

Four. Middleware role
A complex program that abstracts common public parts for a variety of applications to reduce application development
1 "Responsible for connection and communication between client and server
Provide efficient communication mechanism between client and application layer, provide interoperability mechanism between different servers in application layer, and provide the connection and control mechanism between application layer and database.
2 "provides a multi-layered architecture for application development and operating platforms
Provide an application development framework to support modular application development, provide transaction management mechanisms to ensure the consistency of distributed education processing results, provide load balancing and availability of applications, provide security mechanisms for applications, provide application management capabilities, and more.

    • The importance of middleware
    • Shorten the development cycle
    • Save on application development costs
    • Reduced failure rates
    • Reduce software Maintenance
    • Improve quality

Middleware study-understand what middleware is

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.