Hi, I'm also investigating the use of beanRefContext.xml for the deployment of an application based on the appfuse-modular-struts archetype on JBoss as an EAR where there are multiple web modules (these are portlets for JBoss Portal) and a single core JAR in the common EAR classpath, so I would benefit from using a parent singleton application context to be referenced from the webapps, as described here: http://forum.springframework.org/showthread.php?t=14200
Another option is the JBoss Spring Deployer to make JARs containing Spring Beans behave like EJB JARs: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossSpringIntegration but I stilll have to figure how to make Maven rename the JAR extension to .spring and the main application context xml file from applicationContext.xml to META-INF/jboss-spring.xml when using say a jboss profile... Marcello mraible wrote: > > Why do you need to do this? You should use dependency injection where > possible instead of reloading the ApplicationContext yourself. > > Matt > > On 10/20/07, j2ee dodo <[EMAIL PROTECTED]> wrote: >> >> Hi gang, >> >> Does anyone have experience of using beanRefContext.xml to load beans >> directly >> with appfuse and care to share how to do it? >> >> >> Regards >> >> Sam >> > > > > -- > http://raibledesigns.com > > -- View this message in context: http://www.nabble.com/beanRefContext.xml-with-appfuse-tf4658229s2369.html#a13453855 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
