• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

RMI-IIOP apps X CORBA apps - question.

 
Ranch Hand
Posts: 290
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi guys, I have a question...

As far this phrase :

"An RMI-IIOP client cannot necessarily access all existing CORBA objects. The semantincs of CORBA objects defined in IDL are a superset of those of RMI-IIOP objects, which is why an existing CORBA object's IDL cannot always be mapped into an RMI-IIOP Java interface. It's only when a specific CORBA objects's semantics happen to correspond with those of RMI-IIOP that an RMI-IIOP client can call a CORBA object."


So my question is.....If we are going to build Java RMI based application ...Why would I give IIOP support for this ? Of course I know this is because we want our application to iteroperate with other applications such as CORBA....but..for instance..what kind of CORBA applications ? CLIENT or SERVERS ??

Would the CORBA app be a client app or a legacy app where our java application could connect ?

CORBA client app > EJB RMI-IIOP APP < -- CORBA APP as Legacy System ?


Please advice...and tks in advance!!!
 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As in the response to your other question: It does not matter if the CORBA program is by itself a server or a client program.

When a CORBA program initiates a conversation with a java program, the CORBA program is a client of the Java server program, irrespective of whether the CORBA program is itself a server servicing other CORBA clients.

It helped me by understanding which direction the traffic flowed:
From CORBA to java - use IIOP
or from java to CORBA - use java IDL
 
Steven Colley
Ranch Hand
Posts: 290
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi chris !!!

Ok, gotcha!!! It makes sense!!!

Tks so much !!! ;-)
 
Steven Colley
Ranch Hand
Posts: 290
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HI guys...I have one more questions here :


Does the RMI/IIOP classes (implementations) only work to serve as provider to CORBA CLIENT objects ? (If so, please specify how).

or

can the RMI/IIOP implementations also serve as a CLIENT objects to some specific CORBA PROVIDER objects? If not, Should these RMI/IIOP implementation then incorporate Java IDL to become Java CLIENT objecs ???

Tks in advance!! ;-)
 
Ranch Hand
Posts: 697
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You might find this article useful.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic