I just got the EJB addressbook sample to work. :-) To make it work I had to do a couple of things:
1. The EJB is running on WebSphere, and on the client side I *had* to use IBM's JDK. When I used Sun's JDK I got a naming exception "javax.naming.ServiceUnavailableException: NULL returned when resolving initial reference=NameService". Apparently the RMI/IIOP implementation between these two vendors is not compatible. Anyone else seen this problem before? Is this compatibility issue a known problem?
2. I had to make the AddressBook EJB stub classes available to the WSIF client. I was hoping WSIF would give the same independence SOAP does between client and server for EJB services. In other words, to not have to distribute a jar to clients to use my service. Do I have to distribute my EJB stubs to my WSIF clients, or is there a way around this? Also, If I change the interface, or API of my EJB, won't the stubs change, forcing me to distribute the new ones?
Thanks,
David
- RE: [wsif] EJB questions David . Pool
- RE: [wsif] EJB questions Mark Galbreath