Patent ID: 8291437

Claim:
A method for managing a consolidation of multiple middleware threads, comprising: identifying types of a plurality of middleware; selecting a main middleware from the plurality of middleware; initializing, by a server, the main middleware as a main middleware thread; identifying, by the server, other middleware from the plurality of middleware, based on a consolidated middleware functionality; selecting, by the server, slave middleware, different from the main middleware thread, from the identified other middleware, wherein at least one selected slave middleware is of a different type of middleware than the main middleware, and the main middleware and the slave middleware share a common metadata definition, such that business logic for the main middleware and each of the slave middleware is the same; and initializing the slave middleware as slave middleware threads by the main middleware thread, wherein each initialized slave middleware thread functions independently of the main middleware thread, and wherein the all necessary configurations for the main middleware and the slave middleware are stored in a single configuration file in a storage at the server, the single configuration file comprising information regarding middleware registrations for the main middleware and the slave middleware.