aspose file tools*
The moose likes Servlets and the fly likes RMI c.f.  HTTP-tunneling 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 » Servlets
Bookmark "RMI c.f.  HTTP-tunneling" Watch "RMI c.f.  HTTP-tunneling" New topic
Author

RMI c.f. HTTP-tunneling

achana chan
Ranch Hand

Joined: Jul 29, 2002
Posts: 277
Hi again !
R the two mutually exclusive ???
When would I use RMI over tunneling ???
Is tunneling the preferred way to invoke remote methods over the internet ???
THX


humanum errare est.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12803
    
    5
RMI is the way big J2EE server systems work - it is the fastest IF everybody is on the same network.
HTTP "tunneling" is required if you have to go through firewalls. The emerging standard is to use XML-RPC or SOAP over port 80.
Bill
achana chan
Ranch Hand

Joined: Jul 29, 2002
Posts: 277
I am looking at both onsite (intranet) and off-site (www) access to the data. The latter is behind a fore wall.
Does this mean that I have to use RMI for the former and tunneling for the latter ?
**********
AT the moment I am trying to :

javac cannot resolve symbol BaseTunnelClient.
I wonder whether j2sdk1.4 has got this package in java.io.* ???
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: RMI c.f. HTTP-tunneling