File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
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: 42929
    
  68
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

Joined: May 09, 2002
Posts: 437
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: 437
Hi again,

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


Thanks,

Maki Jav
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42929
    
  68
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: 437
I have been able to design Observer/Observable pattern in RMI but I have not implemented it in Applet as yet.

Maki Jav
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: rmi http tunnel