title: Convert rmi interface to CORBA .idl
body: <p>how can I convert my rmi interface into an .idl file in CORBA. Im currently working in a chat application. So here's my interface:</p>
  
  <pre><code>import java.rmi.*;
  
  public interface ChatServer extends Remote{
        void register(ChatClient c) throws RemoteException;
        void broadcast(String s) throws RemoteException;
  }
  </code></pre>
  
  <p>I tried doing it but it said theres and error with the "void" and ChatClient being an undeclared type. How can I solve this? Thank you for your help :)</p>
  
  <p>p.s I got the rmi code in the internet, I only need it as my reference so that I can convert it to CORBA application.</p>