File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Java IDL & Enterprise Javabeans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Java IDL & Enterprise Javabeans" Watch "Java IDL & Enterprise Javabeans" New topic

Java IDL & Enterprise Javabeans

Timber Lee
Ranch Hand

Joined: Oct 14, 2002
Posts: 157
can I use Java IDL when using Enterprise Javabeans?
I have not any experience in Java IDL. maybe it is simple and stupid question, hope to get help!

Thomas Hofmann
Ranch Hand

Joined: Nov 23, 2002
Posts: 72
Java IDL can be used by EJB. Your EJB can act as a (CORBA) client to a (c++) CORBA server. The CORBA server provides an IDL for its remote objects. You have to create Java CORBA stubs according to this IDL (with Java IDL: "idlj" of the JDK). The generated stubs can be used in your EJB to call the remote C++ Corba objects.
BTW: All J2EE (1.3) containers are required to support RMI-IIOP. So all ejbs can also be accessed by CORBA clients.
BTW2: You can also create an IDL from your EJBs with vendor specific compilers (Java2IDL).
The answer is yes, you can use Java IDL in your EJBs.
Timber Lee
Ranch Hand

Joined: Oct 14, 2002
Posts: 157
thanks for your explanation, I get it
I agree. Here's the link:
subject: Java IDL & Enterprise Javabeans
It's not a secret anymore!