This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

rmi http tunnel  RSS feed

 
sarada devi
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Can any one help me in implementing rmi http tunnel with example.

ThankYou,
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The downloadable JDK documentation comes with fully working example code to do this. Look in the docs\guide\rmi\archives\rmiservlethandler directory, where you'll also find instructions on setup and use.
 
Maki Jav
Ranch Hand
Posts: 449
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

Can it be helpful for what I want to implement. I want to have an applet that is automatically updated from a Servlet over http. This will be a Obsever/Observable pattern along with a Server push type of thing. Please help me in this regard...

Thanx in Advance,

Maki Jav
 
Maki Jav
Ranch Hand
Posts: 449
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi again,

I hope that I get some response to my question...


Thanks,

Maki Jav
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Server push to an applet is not generally possible due to firewalls. Consider a periodic pull by the applet instead. I would use plain HTTP, and leave RMI out of it.
 
Maki Jav
Ranch Hand
Posts: 449
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have been able to design Observer/Observable pattern in RMI but I have not implemented it in Applet as yet.

Maki Jav
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!