title: java client web-server connect to multi web-server
body: <p>I have to do an implementation for a class in the Java language by using Tomcat 7 and Axis2 under Ubuntu 11.10 32bit.</p>
  
  <p>The requirement is to make a dynamic web-server project for simple registration, register and unregister course. Also, each faculty handle their courses and the student will be able to connect to all the courses in all the faculties.</p>
  
  <pre><code>serverImp.java
  
  class serverImp{
      HashMap&lt;String,Intager&gt; courses;
      public String register(String courseID){
          int tmp=courses.get(coursesID);
          courses.add(coursesID,tmp-1);
      }
  
      public String register(String courseID){
          int tmp=courses.get(coursesID);
          courses.add(coursesID,tmp+1);
      }
  
  }
  </code></pre>
  
  <p>This is only an example there is more functions of the web-server. Now I have to run the same implementation more than one time with the different name. </p>
  
  <p><strong>for example:</strong></p>
  
  <ul>
  <li>localhost:8080/art/</li>
  <li>localhost:8080/eng</li>
  </ul>
  
  <p>I've done all this and I can make a client for one server, but the problem now is that <i><b>how I can make the web server client work with all this servers using only one stub?</b></i>?</p>