I. INTRODUCTION
Middleware is an independent system application or sever, with which the distributed software share resources across technologies. Middleware is defined as the software layer that lies upon the operating system, network and database, and lies under the distributed applications, managing computer resources and network communication. Middleware is a distributed computing platform, shielding developers and users from heterogeneous operating system and network protocol. It makes applications run on diverse platforms smoothly and provides running and developing environment for upper layer applications, helping users develop and integrate complex application flexibly and efficiently. We import middleware into distance teaching system to solve the upgrade and incompatibility, which increases the efficiency of real time message delivery effectively.