Middleware Explained
Middleware is a type of computer software program that provides services to software applications beyond those available from the operating system. It can be described as "software glue".[1] [2]
Middleware makes it easier for software developers to implement communication and input/output, so they can focus on the specific purpose of their application. It gained popularity in the 1980s as a solution to the problem of how to link newer applications to older legacy systems, although the term had been in use since 1968.[3]
In distributed applications
See main article: article and Middleware (distributed applications).
The term is most commonly used for software that enables communication and management of data in distributed applications. An IETF workshop in 2000 defined middleware as "those services found above the transport (i.e. over TCP/IP) layer set of services but below the application environment" (i.e. below application-level APIs). In this more specific sense middleware can be described as the hyphen ("-") in client-server, or the -to- in peer-to-peer. Middleware includes web servers, application servers, content management systems, and similar tools that support application development and delivery.[4]
ObjectWeb defines middleware as: "The software layer that lies between the operating system and applications on each side of a distributed computing system in a network."[5] Services that can be regarded as middleware include enterprise application integration, data integration, message oriented middleware (MOM), object request brokers (ORBs), and the enterprise service bus (ESB).[6]
Database access services are often characterised as middleware. Some of them are language specific implementations and support heterogeneous features and other related communication features.[7] Examples of database-oriented middleware include ODBC, JDBC, and transaction processing monitors.[8]
Distributed computing system middleware can loosely be divided into two categories—those that provide human-time services (such as web request servicing) and those that perform in machine-time. This latter middleware is somewhat standardized through the Service Availability Forum[9] and is commonly used in complex, embedded systems within the telecom, defence, and aerospace industries.[10]
Usage of middleware
Many categories of middleware have been defined, based on the field in which it is used or the application module it serves. In recent bibliography, the main categories of middleware are the following:[11]
- Transactional: Processing of multiple synchronous/asynchronous transactions, serving as a cluster of associated requests from distributed systems such as bank transactions or credit card payments.
- Message-oriented: Message queue and message passing architectures that support synchronous/asynchronous communication.
- Procedural: Remote and local architectures to connect, pass, and retrieve software responses of asynchronous systems communications such as a call operation.
- Object-oriented: Similar to procedural middleware, but incorporates object-oriented programming design principles. Analytically, its software component encompasses object references, exceptions, and inheritance of properties via distributed object requests.
Other examples
The term middleware is used in other contexts as well. Middleware is sometimes used in a similar sense to a software driver, an abstraction layer that hides detail about hardware devices or other software from an application.
- The Android operating system uses the Linux kernel at its core, and also provides an application framework that developers incorporate into their applications. In addition, Android provides a middleware layer including libraries that provide services such as data storage, screen display, multimedia, and web browsing. Because the middleware libraries are compiled to machine language, services execute quickly. Middleware libraries also implement device-specific functions, so applications and the application framework need not concern themselves with variations between Android devices. Android's middleware layer also contains the ART virtual machine and its core Java application libraries.[12]
- Middleware also refers to the software that separates two or more APIs and provides services such as rate-limiting, authentication, and logging.
- Game engine software such as Gamebryo and RenderWare are sometimes described as middleware because they provide services to simplify game development.[13]
- In simulation technology, middleware is generally used in the context of the high level architecture (HLA) that applies to many distributed simulations. It is a layer of software that lies between the application code and the run-time infrastructure. Middleware generally consists of a library of functions, and enables a number of applications—simulations or federates in HLA terminology—to page these functions from the common library rather than recreate them for each application.[14]
- Wireless networking developers can use middleware to meet the challenges associated with a wireless sensor network (WSN). Implementing a middleware application allows WSN developers to integrate operating systems and hardware with the wide variety of currently available applications.[15]
- The QNX operating system offers middleware for providing multimedia services for use in automobiles, aircraft, and other environments.[16]
- Radio-frequency identification (RFID) software toolkits provide middleware to filter noisy and redundant raw data.[17]
See also
Notes and References
- Web site: Middleware conference . 2023-12-16 . middleware-conf.github.io . en-us . Middleware is a distributed-system software that resides between applications and underlying platforms (operating systems; databases; hardware), and/or ties together distributed applications, databases or devices. Its primary role is to coordinate and enable communication between different layers or components while isolating much of the complexity of distribution into a single, well tested and well understood system abstraction..
- Web site: What is Middleware? . Defining Technology . Middleware.org . 2008 . 2013-08-11 . unfit . https://web.archive.org/web/20120629211518/http://www.middleware.org/whatis.html . June 29, 2012 .
- Web site: Gall . Nick . July 30, 2005 . Origin of the term middleware . May 21, 2008 . en-US.
- Book: Introduction to Middleware: Web Services, Object Components, and Cloud Computing . Etzkorn, L. H. . CRC Press . 4–5 . 2017 . 9781498754101.
- Web site: Sacha. Krakowiak. What's middleware?. 2005-05-06. ObjectWeb.org. dead. https://web.archive.org/web/20050507151935/http://middleware.objectweb.org/. 2005-05-07.
- Book: Event Processing for Business: Organizing the Real-Time Enterprise . Luckham, D. C. . John Wiley & Sons . 27–28 . 2011 . 9781118171851.
- Book: Open Client/Server Computing and Middleware . Simon, A. R. . Wheeler, T. . Academic Press . 43–49 . 2014 . 9781483214276.
- Book: Data Center Fundamentals . Arregoces, M. . Portolani, M. . Cisco Press . 92–93 . 2003 . 9781587140747.
- Web site: Service Availability Interface Specification . Service Availability Forum . 30 September 2011 . 26 July 2018.
- Book: https://books.google.com/books?id=Ql1oHlKkHOsC&pg=PT9 . Service Availability: Principles and Practice . Foreword . Jokiaho, T. . Fryer, J. . John Wiley & Sons . xv . 2012 . 9781119941675.
- Middleware 101: What to know now and for the future . Gazis . Alexandros . Katsiri . Eleftheria . ACM Digital Library . 15 March 2022 . 10.1145/3526211 . 247494415 . free .
- Charlie Collins, Michael Galpin and Matthias Kaeppler, Android in Practice, Manning Publications, 2011
- Book: Introduction to the Game Industry . Moore, M. E. . Pearson Prentice Hall . 169 . 2006 . 9780131687431.
- Book: https://books.google.com/books?id=2clrCQAAQBAJ&pg=PA41 . Chapter 4: Middleware . Cooperative Environments for Distributed Systems Engineering: The Distributed Systems Environment Report . Becchini, R. . Chilaev, P. . Krivtsov, V. . etal. Drira, K. . Martelli, A. . Villemur, T. . Springer . 41–4 . 2003 . 9783540455820.
- Hadim, S. and Mohamed, N. (2006). Middleware challenges and approaches for wireless sensor networks. IEEE Distributed Systems Online vol 7. Issue 3. Retrieved March 4, 2009 fromiEEE Distributed Systems Online
- Web site: QNX Software Joins Internet ITS Consortium of Japan . QNX News Releases . QNX . 6 May 2008 . 26 July 2018.
- Book: RFID Essentials . Glover, B. . Bhatt, H. . O'Reilly Media . 38–44 . 2006 . 9780596009441.