aspose file tools*
The moose likes Distributed Java and the fly likes rmi http tunnel Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "rmi http tunnel" Watch "rmi http tunnel" New topic
Author

rmi http tunnel

sarada devi
Greenhorn

Joined: Jan 04, 2006
Posts: 7
Hi
Can any one help me in implementing rmi http tunnel with example.

ThankYou,
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42277
    
  64
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.


Ping & DNS - my free Android networking tools app
Maki Jav
Ranch Hand

Joined: May 09, 2002
Posts: 436
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


Help gets you when you need it!
Maki Jav
Ranch Hand

Joined: May 09, 2002
Posts: 436
Hi again,

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


Thanks,

Maki Jav
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42277
    
  64
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

Joined: May 09, 2002
Posts: 436
I have been able to design Observer/Observable pattern in RMI but I have not implemented it in Applet as yet.

Maki Jav
 
wood burning stoves
 
subject: rmi http tunnel