Joybrata Chakraborty wrote:Hi Friends
I have adoubt on spring frame work. In my application I want to separate out the application context file. So how ref a bean which in the different application context.
Joy
just ref it by name, and when you create your ApplicationContext object the constructor can also take a
String array String[] where the array has each of your xml config files. Or your can have one config file <import resource="location of other xml file"/> import another config file, and have the main one as the single String in the ApplicationContext constructor.
Mark