File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Can CORBA be based on UDP? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Can CORBA be based on UDP?" Watch "Can CORBA be based on UDP?" New topic

Can CORBA be based on UDP?

Chris Ben
Ranch Hand

Joined: Jan 15, 2001
Posts: 135
Hi all,
I am not familiar with CORBA. From Sun Tutorail, I saw it is based on IIOP (IIOP--the Internet Inter-ORB Protocol. IIOP) and it is based on TCP/IP. So whether that means every IDL based program is inherently using TCP? Are there any possibilies of using UDP with CORBA?
Thanks a lot.
Cindy Glass
"The Hood"

Joined: Sep 29, 2000
Posts: 8521
Yes, this Corba primer describes it:

"JavaRanch, where the deer and the Certified play" - David O'Meara
Chris Ben
Ranch Hand

Joined: Jan 15, 2001
Posts: 135
Hi Cindy,
Thanks for the information. Very helpful site! However, I am kind of overwhelmed by the information in that site.
First, the author said
"The stub object bundles the method name and parameters into a message that can be sent over a network using a proprietary message standard, or Internet InterOperable Protocol (IIOP), to a receiving object called the skeleton. "
As I know, IIOP is based on TCP/IP, so is that possible for the programmer to implement another "proprietary message standard" based on UDP on the APPLICATION layer, without touching the transport layer?
Especially, it seems to me the programmer using CORBA is not really concerned with the way of communication (UDP or TCP)between two hosts based on teh article.
On the other hand, the only place I found UDP in this article is
"A Smart Agent is found using UDP broadcast. This means that a Smart Agent can't be on a different segment of the network. In addition, UDP broadcast doesn't cross over switches. This means that a Smart Agent must run within the segment. Another method is to use a computer with multiple NIC cards for one or more segments that require a Smart Agent. Finally, a URL can be used to find a Smart Agent (see the VisiBroker documentation for more information). "
I do not understand what the smart agent is for? And how is it related to IIOP or VisiBroker, while I am trying to use Java (by JBUILDER) to build my CORBA applciation, with UDP communication if possible?
Could you or anyone else clarify them for me?
Thanks a lot.
I agree. Here's the link:
subject: Can CORBA be based on UDP?
It's not a secret anymore!