Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

rmi http tunnel

 
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
Pie
Posts: 42967
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: 445
  • 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: 445
  • 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
Pie
Posts: 42967
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: 445
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic