Mar 23rd, 2012, 12:07 AM
Switch to Java based configuration from XML - seems tedious - please help on approach
I have a Spring XML config - which is complex and heavy as many bean with many properties ,
We got to simplfy as these properties will now be in Database and got to be pulled ad used along with Java based configuration replacing the XML spring config - Please help
Enclosed the spring config FYR.
Thanks in Advance
Last edited by sanjaygverma; Mar 23rd, 2012 at 12:34 AM.
Mar 23rd, 2012, 05:57 PM
I guess I do not understand what is so tedious. Is there something more specific you are having trouble with? The XML does not look that big is it the abstract/parent relationships that you do not understand in java config or is it something else?
Last edited by wgorder; Mar 23rd, 2012 at 06:05 PM.
Mar 23rd, 2012, 08:21 PM
To be specific - We have n number of this XML and new JMS connection and topic details keep coming in, so in spring is it possible to configure this dynamically to create Bean - say if i pull the JMS connection URL , user , pwd and topics from db or properties file.
Originally Posted by wgorder
Please help with the approach.