Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
jboss-as-5-client module.xml
<?xml version="1.0" encoding="UTF-8"?>
<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ear-subdeployments-isolated>false</ear-subdeployments-isolated>
<!--
I have a ear deployment, I'm specifying only the module which is client of the EJB Remote module running in AS5.
My client class is itself an EJB 3.1 running in JBoss AS7. It is client of an EJB 2.0 running in JBoss AS5.
-->
<sub-deployment name="my-ejb-module-on-as7-${project.version}.jar">
<dependencies>
<module name="my-service-on-as5-client" optional="true" slot="main"/>
</dependencies>
</sub-deployment>
</jboss-deployment-structure>
<?xml version="1.0" encoding="UTF-8"?>
<!--
created by Franck to be able to call EJB Remote service residing in JBoss AS 5 from JBoss AS 7
-->
<module xmlns="urn:jboss:module:1.1" name="org.jboss.version5.client">
<resources>
<resource-root path="commons-logging.jar"/>
<resource-root path="concurrent.jar"/>
<resource-root path="ejb3-persistence.jar"/>
<resource-root path="hibernate-annotations.jar"/>
<resource-root path="jboss-aop-client.jar"/>
<resource-root path="jboss-appclient.jar"/>
<resource-root path="jboss-aspect-jdk50-client.jar"/>
<resource-root path="jboss-client.jar"/>
<resource-root path="jboss-common-core.jar"/>
<resource-root path="jbosscx-client.jar"/>
<resource-root path="jboss-deployers-client.jar"/>
<resource-root path="jboss-deployers-client-spi.jar"/>
<resource-root path="jboss-deployers-core.jar"/>
<resource-root path="jboss-deployers-core-spi.jar"/>
<resource-root path="jboss-deployment.jar"/>
<resource-root path="jboss-ejb3-common-client.jar"/>
<resource-root path="jboss-ejb3-core-client.jar"/>
<resource-root path="jboss-ejb3-ext-api.jar"/>
<resource-root path="jboss-ejb3-proxy-clustered-client.jar"/>
<resource-root path="jboss-ejb3-proxy-impl-client.jar"/>
<resource-root path="jboss-ejb3-proxy-spi-client.jar"/>
<resource-root path="jboss-ejb3-security-client.jar"/>
<resource-root path="jboss-ha-client.jar"/>
<resource-root path="jboss-ha-legacy-client.jar"/>
<resource-root path="jboss-iiop-client.jar"/>
<resource-root path="jboss-integration.jar"/>
<resource-root path="jboss-j2se.jar"/>
<resource-root path="jboss-javaee.jar"/>
<resource-root path="jboss-jsr77-client.jar"/>
<resource-root path="jbossjts.jar"/>
<resource-root path="jbossjts-integration.jar"/>
<resource-root path="jboss-logging-jdk.jar"/>
<resource-root path="jboss-logging-log4j.jar"/>
<resource-root path="jboss-logging-spi.jar"/>
<resource-root path="jboss-main-client.jar"/>
<resource-root path="jboss-mdr.jar"/>
<resource-root path="jboss-messaging-client.jar"/>
<resource-root path="jboss-remoting.jar"/>
<resource-root path="jboss-security-spi.jar"/>
<resource-root path="jboss-serialization.jar"/>
<resource-root path="jboss-srp-client.jar"/>
<resource-root path="jbosssx-as-client.jar"/>
<resource-root path="jbosssx-client.jar"/>
<resource-root path="jboss-system-client.jar"/>
<resource-root path="jboss-system-jmx-client.jar"/>
<resource-root path="jmx-client.jar"/>
<resource-root path="jmx-invoker-adaptor-client.jar"/>
<resource-root path="jnp-client.jar"/>
<resource-root path="slf4j-api.jar"/>
<resource-root path="slf4j-jboss-logging.jar"/>
<resource-root path="xmlsec.jar"/>
</resources>
<dependencies>
<module name="javax.api"/>
</dependencies>
</module>
<?xml version="1.0" encoding="UTF-8"?>
<!--
-->
<module xmlns="urn:jboss:module:1.1" name="my-service-on-as5-client">
<resources>
<!-- this is the service client jars containing the remote home/business interfaces-->
<resource-root path="my-service-on-as5-2.5.0-client.jar"/>
</resources>
<dependencies>
<module name="org.jboss.version5.client"/>
</dependencies>
</module>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment