File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Distributed Java and the fly likes Generating code from IDL for EJB Access Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Generating code from IDL for EJB Access" Watch "Generating code from IDL for EJB Access" New topic

Generating code from IDL for EJB Access

horst manweg

Joined: Dec 27, 2006
Posts: 6

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
wood burning stoves
subject: Generating code from IDL for EJB Access
Similar Threads
Check out the qtns for Part I
XDoxlet and interfaces
Corba IDL Parsing using Java
RMIC -IDL Exception
Problem while creating WebService in WSAD 5.1.1