-
1. Re: how to invoke class in other jars
barky Aug 15, 2001 4:18 AM (in response to yararay)Just copy the jar file into the JBoss classpath directory (%JBOSS_HOME%\lib\ext).
-
2. Re: how to invoke class in other jars
yararay Aug 15, 2001 9:47 PM (in response to yararay)Maybe I didn't express my meaning clearly. I want to invoke class in other jars and all jars are ejbs and must be deployed first, so all jars must in the deploy directory. How to invoke?
-
3. addition information
yararay Aug 15, 2001 9:47 PM (in response to yararay)Maybe I didn't express my meaning clearly. I want to invoke class in other jars and all jars are ejbs and must be deployed first, so all jars must in the deploy directory. How to invoke?
-
4. Re: how to invoke class in other jars
wieman01 Aug 16, 2001 10:29 AM (in response to yararay)Hey yarAray,
there is only sone solution as far as EJB's are concerned:
If you want instantiate other EJB's from within an EJB you will have to pack all the classes into the same JAR. That will work!
Have fun,
Holly -
5. Re: addition information
yeohpj Aug 17, 2001 11:20 AM (in response to yararay)Hello.
Try adding Class-Path into the MANIFEST.MF of your jar file. So if the bean in A.jar is using a method in B.jar, the MANIFEST.MF in A.jar should look something like so:
Manifest-Version: 1.0
Class-Path: B.jar
Very useful link: http://www.jboss.org/documentation/HTML/ch11s55.html