What is the difference between middleware and framework?
A framework is something like a development environment that is primarily characterized by libraries. Frameworks may be used for development in general; whereas, middleware is primarily used for integration purposes. A framework used for integration may be referred to as a middleware framework.
Reference:
· Artificial Intelligence Middleware (Draft) | Meta-Guide.com