If you have modules in your code or if you want to break your large spring xml in smaller parts
or you can use @import in HelperClass
@Configuration
@Import({ CustomerConfig.class, StaffConfig.class })
Declare Beans
@bean and name attribute to declare beans
or you can use @import in HelperClass
@Configuration
@Import({ CustomerConfig.class, StaffConfig.class })
Declare Beans
@bean and name attribute to declare beans
No comments:
Post a Comment