-
1. Re: Clustering an EJB on JBoss
juha Dec 6, 2003 11:48 AM (in response to stanimir)Add true to your jboss.xml
copy to your deploy dir
run -c all
-- Juha -
2. Re: Clustering an EJB on JBoss
stanimir Dec 6, 2003 1:15 PM (in response to stanimir)Thank you,
I have another question.
I have a java client that needs to access an EJB on a remote JBoss server.
I need the home and the remote stubs generated by JBoss during the deployment of the EJB, in the client classpath.
I don't know where to find these stubs in JBoss server.
Is there any directory where all generated client stubs are kept in JBoss?
In general, how a client could call a Remote EJB if it has not the EJB jar in its classpath??
Thank you.
Stan -
3. Re: Clustering an EJB on JBoss
juha Dec 6, 2003 3:41 PM (in response to stanimir)We don't have a stub compiler, they're created dynamically at run-time.
Your client just needs to have the home and remote interfaces.
-- Juha -
4. Re: Clustering an EJB on JBoss
stanimir Dec 7, 2003 3:42 AM (in response to stanimir)Hi Juha,
Thank you very much.
I have another question.
When you wrote "Your client just needs to have the home and remote interfaces" did you mean that I have to include the home and the remote interfaces in the client jar or just have these interfaces in the client classpath, which implies that the EJB jar is physically present on the client machine?
Which solution do you prefer?
Thank you
Stan. -
5. Re: Clustering an EJB on JBoss
juha Dec 7, 2003 6:49 AM (in response to stanimir)The interfaces must be somewhere in your client's classpaht.
-- Juha -
6. Re: Clustering an EJB on JBoss
stanimir Dec 7, 2003 9:09 AM (in response to stanimir)Thank you very much for your help.
best regards.
Stan.