Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Generating code from IDL for EJB Access

 
horst manweg
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I have a question concerning generated IDL from an EJB interface.

This is my bean:
public interface Receive extends javax.ejb.EJBObject {
public String receive(String msg) throws RemoteException;
}

After generating the IDL with rmic -idl ...
I have a Receive.idl file and the following files

java\lang\Ex.idl, Exception.idl, Object.idl, ....

javax\ejb\CreateEx.idl, CreateException.idl, EJBHome.idl, ....

Goal is to connect a C++-application with the bean, knowing java better I thougt I will try it first with java.

Here is my problem: Do I need to make java-code of all .idl-files?
Why is there an include within the CreateEx.idl to javax/ejb/CreateException.idl??? How do I generate the code for this?

For now I copied CreateEx.idl to a directory with a subdirectory javax/ejb/CreateException.idl to generate the code. But that can't be it.

Is there a solution for this issue?

Thanks for your help

H. Manweg
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic