In an ear file you may use jar's manifest file of the ejb to have references to dependent jars:
http://www.jboss.org/modules/bb/index.html?module=bb&op=viewtopic&t=forums/ you could repackage the ejbs and jars to make an ear.
But this work seems to be complecated.
I want a smart answer too.
Thanks for you reply.
But my problem is deploying jars but compiling or making jars. My jars are already working on Weblogic6.1 fine. I am trying to port my team's web application to JBoss now.
I think the problem is caused by my lack of knowledge on JBoss but I could not get a good docs.
Do you have any docs that explaining how to configure JBoss-3.0.2? It will be very helpfull to me.
ps. I guess you are an Japanese from your name. I am in Tokyo now even I am not a Japanese.
>But my problem is deploying jars but compiling or making jars.
If the dependent jars are deployed before the ejbs, your problem may be solved.
I meant that you could do that in the ear file level. Besides it's a portable way.
But then you need to change the manifest files in the ejb jars.
> Do you have any docs that explaining how to configure JBoss-3.0.2
We have the JBoss 3.0 Quick Start Guide(free) and the JBoss 3.0 Administration and Development($10).
Maybe, you could SAR file instead of ear file. I'm not sure whether you can specify dependencies between ejb modules. Read the Chapter 12, JBoss 3.0 Quick Start Guide.
>I guess you are an Japanese from your name. I am in Tokyo now even I am not a Japanese.
Sorry for my bad english,