The document discusses the need for middleware in wireless sensor networks. It describes some of the challenges in designing middleware for sensor networks, including limited resources, scalability, and heterogeneity. It then summarizes several approaches to sensor network middleware, including virtual machine approaches, modular programming approaches, database approaches, and message-oriented middleware.