title: Calling a Remote EJB running on a Weblogic instance using Host & Port name
body: <p>I have a question about calling a Remote EJB (3.0) running on a Weblogic instance using Host &amp; Port name of the Weblogic Server.</p>
  
  <p>I've read the <a href="http://docs.oracle.com/javaee/6/tutorial/doc/javaeetutorial6.pdf" rel="nofollow">Java EE 6 tutorial</a> specifically about invoking a remote EJB either through JNDI or through Dependency Injection.</p>
  
  <p>But the environment (Common Dev environment) I work with has client code that accesses the EJB through a host name and a port name using Spring.</p>
  
  <p>I have a local instance of Weblogic and deployed the ear file. I wanted to follow the same workflow (using the host name and the portname) to call this ejb on my local machine (the client will be running on another application server locally) to see if remote attachment to my ejb works. But I'm not sure what the deal is with the port number. What am I missing?</p>