module.xml file for org.springframework.spring?
rjbaty Aug 4, 2011 4:26 PMHello,
I have been using JBossWS-CXF on JBossAS6 for a couple months and decided to try and migrate over to JBossAS7. There was a dependency on Spring for some of the CXF functions in JBossAS6 and I am looking to add Spring as a module in JBossAS7 as indicated by some of the documentation below:
Using Spring
The JBossWS-CXF modules have optional dependencies to the org.springframework.spring module. So either create that manually in the application server or use the JBossWS-CXF installation scripts for doing that.
I've been searching around for a JBossWS-CXF 4.x installation script but have not been able to find it yet so I have tried to add the Spring module manually but I am scratching my head a bit as to what is to go into the modules.xml file? I have the following but I feel like I am guessing a bit at the dependencies.
<module xmlns="urn:jboss:module:1.0" name="org.springframework.spring"> <resources> <resource-root path="com.springsource.org.aopalliance-1.0.0.jar"/> <resource-root path="org.springframework.aop-3.0.5.RELEASE.jar"/> <resource-root path="org.springframework.asm-3.0.5.RELEASE.jar"/> <resource-root path="org.springframework.beans-3.0.5.RELEASE.jar"/> <resource-root path="org.springframework.context-3.0.5.RELEASE.jar"/> <resource-root path="org.springframework.core-3.0.5.RELEASE.jar"/> <resource-root path="org.springframework.expression-3.0.5.RELEASE.jar"/> <resource-root path="org.springframework.jdbc-3.0.5.RELEASE.jar"/> <resource-root path="org.springframework.jms-3.0.5.RELEASE.jar"/> <resource-root path="org.springframework.transaction-3.0.5.RELEASE.jar"/> <resource-root path="org.springframework.web-3.0.5.RELEASE.jar"/> </resources> <dependencies> <module name="javax.api"/> <module name="javax.jms.api"/> <module name="javax.annotation.api"/> <module name="org.apache.commons.logging"/> </dependencies> </module>
Thanks,
Robert