-
1. Re: Test local interface
kabirkhan Sep 27, 2005 6:48 AM (in response to martinganserer)If your client runs in a different vm from the ejb container you need to use Remote interfaces
-
2. Re: Test local interface
martinganserer Sep 27, 2005 7:06 AM (in response to martinganserer)Hello Kabir,
I checked my project settings. But the vm of jboss and the one of my app are the same!
Do you have any idea what else could be wrong? -
3. Re: Test local interface
kabirkhan Sep 27, 2005 7:50 AM (in response to martinganserer)I could be wrong, but to me it looks like you are running a standalone client? In which case there will be a separate vm for your client and for jboss whether you run both from whithin Eclipse or not
-
4. Re: Test local interface
martinganserer Sep 27, 2005 7:55 AM (in response to martinganserer)Hello,
you're right. It is a standalone client. It has a main method. But does that mean that both applications are on the same vm but are remote to each other? What could I do to run my standalone app in the VM of the app server? How else should I test my local interfaces if I don't have any chance with a small test software?? -
5. Re: Test local interface
kabirkhan Sep 28, 2005 3:12 AM (in response to martinganserer)Main client + app running in jboss = 2 vms :-)
One way to test your application would be to deploy an additional bean with a remote interface, calling the local interfaces you want to test. Another to create an MBean that calls the local interfaces. Alternatively you may want to look at using embedded EJB 3 during your testing cycles. -
6. Re: Test local interface
martinganserer Sep 30, 2005 1:42 AM (in response to martinganserer)OK,
I think it will use a second entity bean!
But one further question only to be sure about that point:
If I run my application on JBOSS and use Servlets as client, I will be able to use the local interface, won't I?