Solved

RMI and IIOP callback

Posted on 2003-12-10
3
547 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
  • 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
nextBoolean(double p) for Random class 3 40
MySQL  on Tomcat 8 46
iterator/ListIterator approach 17 27
by zero exception 10 41
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
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 will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

810 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