Java middleware includes: 1. Application service middleware, which provides a comprehensive computing environment and support platform for application systems; 2. Application integration middleware, which provides various Message communication between network application systems; 3. Business architecture middleware provides targeted support mechanisms.
The operating environment of this tutorial: windows10 system, java8, this article is applicable to all brands of computers.
1. Definition
Middleware is an independent system software or service program through which distributed application software shares resources between different technologies. Middleware is located on the operating system of the client server and manages computing resources and network communications. It can also be defined as a distributed software that connects operating systems, databases and other system software and application software in a network environment. , mainly solves the interconnection and interoperability problems of distributed application software in heterogeneous network environments, provides standard interfaces and protocols, shields implementation details, and improves the portability of application systems.
2. Function
Middleware simplifies the design, programming and management of distributed systems by providing a simple, consistent, integrated development and operating environment
3. Classification
Middleware covers a very wide range, and a variety of distinctive middleware products have emerged for different application needs. From the perspective of functional extension, middleware includes transaction middleware, message middleware, integration middleware and other functional middleware technologies and products
4. Product classification
Three major categories of products: application service middleware, application integration middleware, and business architecture middleware.
Application service middleware
Provides a comprehensive computing environment and support platform for application systems, including Object Request Broker (ORB) middleware and transaction monitoring transaction middleware Software, JAVA application server middleware, etc.
Application integration middleware
Application integration middleware provides message communication between various network application systems. Service integration and data integration functions include common message middleware, enterprise integration EAI, enterprise service bus and matching adapters, etc.
Business architecture middleware
As a condensation of commonality, middleware must not only start from the underlying technology and abstract the characteristics of common technology into the middle layer, but also Focus more on the business level and drive the continuous evolution of its own capabilities based on business needs. That is, the emerging new business needs drive the continuous evolution of application models and information system capabilities, which in turn requires middleware to continuously evolve. Condensate more business commonalities and provide targeted support mechanisms.
Business architecture middleware includes middleware in several business fields such as business process, business management and business interaction
5.java middleware
1.Definition of Java middleware
In the evolution and evolution of Java web development, our abstraction of message systems, databases, service-oriented interfaces, etc., involves the process of data separation. In the separation process, It will involve the interaction between systems and databases after separation. Java middleware handles the interaction between our data and connects the communication between the two systems after the data is separated. The middleware does not belong to any development project and allows us to be unaware of the data flow between systems or databases. It's a bit like pipes under Linux.
2. Basic fields and representatives of middleware applications
As mentioned above, java is the middleware between data. The applicable scope in java web development should mainly be the following three fields:
Remote procedure call and object access middleware
Mainly solves the mutual access problem of applications in a distributed environment, which is also the basis for supporting application service functions;
For example: RPC: Remote Process Call (remote process call middleware)
Message middleware: Solve the problems of message passing, decoupling and asynchronous between applications.
For example: ActiveMQ is the most popular and powerful open source message bus produced by Apache. ActiveMQ is a JMS Provider implementation that fully supports the JMS1.1 and J2EE 1.4 specifications.
Data access middleware
Components that mainly solve the common problems of application access to the database
For example: the data access middleware is what we specify using the database Data-driven, for example: ODBC JDBC. Taking JDBC as an example, the database locally maintains a data access middleware. When we access the database, the configured address is actually directly connected to the JDBC data access middleware. If we execute the query data , or all operations on the database are connected to the database through JDBC, and then the database is completed through JDBC query and then returned to our application. As middleware, the query process is agnostic to us.
Related free learning recommendations: java basic tutorial
The above is the detailed content of What are java middleware. For more information, please follow other related articles on the PHP Chinese website!