mmayer
May 15th, 2008, 08:45 AM
Hello,
I'm new to Spring Dynamic Modules and have a question about using different configuration variants of the same application. I would like to have a application as one monolithic variant and also a variant divided into two parts using remoting.
A "normal" spring-managed application uses one or more xml-configuration files beside the components to define the application structure, etc... I can use both deployment variants by connecting the needed component-jars with an individual xml-configuration.
But how could I use different configurations with Spring Dynamic Modules? The configuration lays inside the bundle-jars. What if I would like to switch between a regular bean and a RmiProxyFactoryBean: do I have to repack the bundle jar or do I have to use a different bundle for each variant?
regards
Mark
I'm new to Spring Dynamic Modules and have a question about using different configuration variants of the same application. I would like to have a application as one monolithic variant and also a variant divided into two parts using remoting.
A "normal" spring-managed application uses one or more xml-configuration files beside the components to define the application structure, etc... I can use both deployment variants by connecting the needed component-jars with an individual xml-configuration.
But how could I use different configurations with Spring Dynamic Modules? The configuration lays inside the bundle-jars. What if I would like to switch between a regular bean and a RmiProxyFactoryBean: do I have to repack the bundle jar or do I have to use a different bundle for each variant?
regards
Mark