Hi,
I have not seen a reply on this subject, so I'll take a shot at this.

First, my understanding is that, if you want CORBA communication, then you
will
need a server that supports RMI/IIOP. Such a server should also support some
sort of non-EJB CORBA environment. I'm being vague because it can, but there
is
no mandate except common sense.

So how can an EJB object support a CORBA interface? The straightforward way
is
to generate CORBA IDL from the enterprise java bean definition. This IDL
should be
generated in conformance with the OMG's Java-IDL mapping. You can then throw
the
IDL into your favorite CORBA toolset to allow a "pure" CORBA conversation
with your
EJB server. The java-idl tool should be supplied by the EJB server vendor,
Sun also
supplies such a tool within its rmi-iiop package.

A java client then has two choices. It can use EJB only, i.e. communicate to
the
server using RMI/IIOP. This would seem to be the method of choice, since,
all other
things being equal this ought to be easier. A second alternative, however,
is to use
the OMG IDL to create java and communicate using pure CORBA.

Hope this was helpful,
Randy McRee
COMPAQ Computers, Tandem Division.

-----Original Message-----
From: Nikhil [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 30, 1999 12:03 AM
To: [EMAIL PROTECTED]
Subject: ejb-corba mapping


Hi,

Can anybody tell me how to build server side components in java (ejb),
which can communicate through corba. I have been trying to find info on
this for days, but have not been very successful. Could you also
elaborate on the second part of the following statement that I read in
JAVAPro:
"In the java enviornment the EJBObject implements RMI interfaces, and in
the Corba enviornment, it implements Corba interfaces."

The problem I am facing is that, we have implemented the servers in java
and these servers communicate through Corba. Now, we want to implement
the servers as components using ejb, but want to retain the capability
of the servers communicating through corba. How do we go about it?

Any help is eagerly awaited.

Bye!

Sawalia Saurabh

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to