Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Generating code from IDL for EJB Access  RSS feed

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

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
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!