Embedding Stardust into a Spring Bean Application

Due to Stardust's service factory locator mechanism, the client code is completely agnostic of the runtime environment. The standard mechanisms for retrieving services and invoking methods on these services as described in the chapter Stardust Services of the Programming Guide documentation remains unchanged. Please refer to the chapter Spring Runtime Setup for a detailed information on how to configure Spring and Stardust.

Applications embedding Stardust usually bootstrap the Spring environment before calling Stardust. Stardust's Service Factory for Spring checks if the environment is already bootstrapped. It will only bootstrap the Spring environment if it is not already done.