This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RMI client callback stub

 
Ranadhir Nag
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 291
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is called cross-posting. A no no:
http://forum.java.sun.com/thread.jspa?threadID=5119661&tstart=0
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic