I have developed EJB in WSAD. I can call it from standalone java, only if this java project is developed under WSAD and run under same JRE. But I need to find out how to run it in different jre's (using Sun's java instead of IBM's) I could not find much help on this one. Any suggestions? (or related links would do) Thanks, Manoj
I might be saying sutff that you already know, but... just ignore it if so.
If you can access your ejb from a java program under wsad it means that both your java client and you ejb (and server) configuration are fine. The only reason i see for that not working on projects outside wsad (in fact, in other jvm) is that might be looking for local interfaces. You can access local interfaces only from the same jvm.
I have never been able to get a client program to access WebSphere without using the JVM shipped with WebSphere. I too, would be interested in learning how to do that with Sun's JVM.
Joined: Nov 17, 2002
Hi Leandro, Thanks for reply. But I didnt get what you ment by "You can access local interfaces only from the same jvm" I have put the ejb jar in the classpath of the standalone client , so that client gets all the required classes. (this jar has local interface,home interface, stub and skeleton classes)
As this was not happening (call to ejb), I created a Servlet which does exactly same process as EJB and now I call this servlet from the Standalone Java Client. But the performance is not good. I am not sure if I use the EJB instead, performance will improve. Any idea?