[jboss-user] [JBoss/Spring Integration] - Re: Using beans from other spring module

alesj do-not-reply at jboss.com
Tue Jan 9 09:20:39 EST 2007


First, do not use this - import resource="jndi_core.xml".

There is a straight hierarchy, as in Java hierarchy model - just a single extend.

Read the article: http://java.sys-con.com/read/180386.htm

Name your contexts (via BeanFactory=(name1)), and the reference them in child context via ParentBeanFactory=(name1).
The order of hierarchy deployment is important!

If you do this as it should be done, this is not true: 
"Meaning that the classes from second module are actually inside first."

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999460#3999460

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999460



More information about the jboss-user mailing list