I have stubs from a thirdparty's EJB which is deployed on a remote Weblogic server. I have succesfully connected to this EJB using a standalone Java client. I now wish to connect to their EJB using an EJB I wrote and deployed on Jboss. When trying to get the InitialContext I recieve a netsocket exception as if it cannot even find the remote Weblogic server. Below is a snippet of my code:
I thought I was supposed to use Weblogic's ContextFactory just as I did with the working client I wrote but this did not work. So now I am trying Jboss' factory. Also notice that I have changed the url to be "iiop" rather than Weblogic's proprietary "t3" protocal. But as I said before, it seems it cannot find the server. Any help or a pointer to a tutorial would be greatly appreciated. So far the suggestions I have gotten are to deploy my bean in Weblogic.... surely there is a better option than purchasing a $30,000 appserver.