Solved

RMI and IIOP callback

Posted on 2003-12-10
3
564 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 40 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

What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

Question has a verified solution.

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

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
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 …
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…

717 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