title: How to map 2 different objects together
body: <p>In my current project I have 2 modules ModuleA and ModuleB, and inside ModuleA and ModuleB I have a class called 'Student' (same class name, same attributes, but for some purpose ModuleA must call ModuleB to do the actual task). They communicate to each other through Web Services. Now I want ModuleA web service to call ModuleB proxy to do the actual task. </p>
  
  <p>In my ModuleA web service I have a method to create a record:</p>
  
  <pre><code>public void createStudent(ModuleA.Student student){
      // Here will call ModuleB proxy to do the actual task which is create.
  
      *moduleBFacade().createStudent(   );*
  }
  </code></pre>
  
  <p>In my ModuleB Proxy: </p>
  
  <pre><code>public void createStudent(ModuleB.Student student){}
  </code></pre>
  
  <p>So now the problem is, I cannot pass the moduleA object into the createStudent method as it only takes moduleB objects as arguments. </p>
  
  <p>Any idea how to deal this problem? Please give me some suggestions.</p>