-
1. Re: Deployment of JARs
cosmonaut Oct 12, 2001 3:04 AM (in response to frebe73)
> I solve this by including all the uses
> remote and home interfaces in the jar file.
> Is there any other way? Or does JBoss only find
> classes in lib/ext and the current JAR-file?
Yes, IIRC it should be possible with an ejb-link. Check out the DTDs and instructions for ejb-jar.xml and jboss.xml. -
2. Re: Deployment of JARs
benwilcock Oct 24, 2001 5:33 AM (in response to frebe73)Hava a look at the answer I gave Rich on a similar problem. It may be the answer you are looking for (I hope).
Good Luck
Ben
http://www.jboss.org/modules/bb/index.html?module=bb&op=viewtopic&t=forums/ -
3. Re: Deployment of JARs
nhebert Oct 24, 2001 6:26 PM (in response to frebe73)Fredrik,
I would advise against using the lib/ext "trick".
It is a slippery slope.
If you are only interested in deploying to a single
JBoss instance or not writting portable EJBs then
so be it.
When JBoss 3.0 arrives with clustering, this "trick"
may not be so handy. You will have to put your jar(s)
in every nodes lib/ext. If you deploy as you
described with necessary dependent Home and Remotes
you can be deploy on ANY one node and have visibility.
Works that way with clustered WebLogic and WebSphere
and should work when clustering happens in 3.0...
Cheers,
Noel.