• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Callbacks in RMI and Corba

 
Rajesh Kumar
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When are callbacks used in RMI and CORBA?
what are the mechanisms available for callbacks
on RMI and CORBA?
Also one last question is JRMP the default protocol used for RMI?
Thanks,
RK
 
Vinod John
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Rajeesh Kumar:
When are callbacks used in RMI and CORBA?


When ever the server piece want to inform the client piece of some event that has happened in the server.

what are the mechanisms available for callbacks
on RMI and CORBA?

for rmi call back check out this http://www.coderanch.com/t/209284/java/java/RMI-Callback-Mechanism-Firewalls
There are lot of good article in jguru.com site
 
Michael Ernest
High Plains Drifter
Sheriff
Posts: 7292
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When are callbacks used in RMI and CORBA?
Whenever it makes sense to update a client program about a change of state in a server program.
what are the mechanisms available for callbacks on RMI and CORBA?Callbacks in RMI and CORBA are fundamentally no different from each other, although it usually makes sense to use dynamically loadable stubs (from the initiating client) so the server doesn't need to know who the client is at compile-time.
Once you get into distributed systems like Jini and Jiro, there's an added element, known as a handback object, that is also used. A handback object helps insure that the object invoking a callback method is in fact the same object the initiating client asked to register to.
Also one last question is JRMP the default protocol used for RMI?
Does the Pope wear a funny hat?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic