Solved

RMI and IIOP callback

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
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…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

679 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