-
1. Re: Adding External JAR into JBOSS 7
jaikiran Mar 2, 2012 3:12 AM (in response to svnkumars)You could create a static JBoss module out of it and add a dependency on that module from your application. But I don't see a need to do that when you can just package it in your application. Why do you want to move it out?
-
2. Re: Adding External JAR into JBOSS 7
svnkumars Mar 2, 2012 4:30 AM (in response to jaikiran)Thanks Jaikiran for your reply.
Please let me know how to create JBoss Module and add a dependency that module for my application. I want to be develop custom applications by using that jar. So i have to move that jar from our Custom Applications. And it placed as external it is just like available common jars (servlet etc) in JBoss.
Please send me any sample project with step-by-step procedure to my email. My email address is svnkumars@gmail.com
Thanks,
Nagendra.
-
3. Re: Adding External JAR into JBOSS 7
jaikiran Mar 2, 2012 4:42 AM (in response to svnkumars)Nagendra Kumar wrote:
Please let me know how to create JBoss Module
This has the details https://docs.jboss.org/author/display/MODULES/Home
Nagendra Kumar wrote:
and add a dependency that module for my application.
This document explains it https://docs.jboss.org/author/display/AS71/Class+Loading+in+AS7
-
4. Re: Adding External JAR into JBOSS 7
jigneshmpatel Jun 28, 2012 10:49 AM (in response to jaikiran)This document is not sufficient. It says use following command to execute external jars, but doesn't says from which location.
There are normally two ways in which a module may be directly executed. The module may be launched by name from the static repository like this:
java -jar jboss-modules.jar com.your.module
Or, the module may be executed as a JAR file given on the command line like this:
java -jar jboss-module.jar -jar your-app.jar