This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Distributed Java and the fly likes RMI client callback stub Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "RMI client callback stub" Watch "RMI client callback stub" New topic
Author

RMI client callback stub

Ranadhir Nag
Ranch Hand

Joined: Mar 09, 2006
Posts: 138
I am new to RMI.
We have a server component that runs within its own JVM.It needs to callback on client applets/consoles etc.
Ordinarily,the client would implement an interface, and distribute the interface and remoting stub to the server ,for the server to callback on.
However,rather than the client distributing the interface and stub,we wish the server to define a callback interface and implementation.
Thereby,the server can generate its own stub from the callback implementation.
This implementation can be provided to the client as a packaged class(along with the remote server stub and server interface).
The interested clients can extend this implementation.
The point that we wish to avoid through this framework,is the client providing the RMI stubs to the server for callback,as the server needs to be developed independently.
Is this a possible framework?
Any help will be appreciated.
Edward Harned
Ranch Hand

Joined: Sep 19, 2005
Posts: 291

This is called cross-posting. A no no:
http://forum.java.sun.com/thread.jspa?threadID=5119661&tstart=0


Ed's latest article: A Java Parallel Calamity http://coopsoft.com/ar/Calamity2Article.html
 
 
subject: RMI client callback stub
 
Similar Threads
JAX-RPC client side programming
Question about RMI
question about the way entity bean works?
Handle query
where's the "sharpen your pencil" answer?