Solved

RMI and IIOP callback

Posted on 2003-12-10
3
536 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
Comment Utility
 I am afraid not with pure RMI over IIOP. You should use CORBA for that.
0
 

Author Comment

by:dannysh
Comment Utility
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
Comment Utility
> 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
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:
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

743 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now