[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

RMI and IIOP callback

Posted on 2003-12-10
3
Medium Priority
?
570 Views
Last Modified: 2008-01-16
Hi all
As far as I know it's possible to do RMI callback to a client which register to the application server.
Is it possible also in IIOP connection to the application server ? I am using IIOP casue the client is written in C/C++.

  Thanks
0
Comment
Question by:dannysh
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 35

Expert Comment

by:girionis
ID: 9911805
 I am afraid not with pure RMI over IIOP. You should use CORBA for that.
0
 

Author Comment

by:dannysh
ID: 9911850
Hi

>> I am afraid not with pure RMI over IIOP

If the client is written in C/C++ probably it should use CORBA. so it that case it will ba able to receive callback?

Does java client using pure RMI/IIOP can ?
0
 
LVL 35

Accepted Solution

by:
girionis earned 160 total points
ID: 9911899
> If the client is written in C/C++ probably it
>should use CORBA. so it that case it will ba
>able to receive callback?

  Yes you can use callbacks with CORBA if one of the parts (clieant or server) is Java. Take a look at this link: http://java.sun.com/developer/qow//archive/18/

> Does java client using pure RMI/IIOP can ?

  You can. The EJB architecture utilizes callbacks and EJBs can do client callsbacks. Communication between standalone clients and EJBs is being done over RMI-IIOP. The thing is that I do not know how complicated it will be. Usually if a clients wants to be called back (from an EJB) the client should create an RMI object and will pass it as reference to the EJB. Then theEJB can use the RMI reference to call the client back.

  Not sure how compilcated this will be to implement in your application.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
The viewer will learn how to implement Singleton Design Pattern in Java.
Suggested Courses

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question