Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RMI c.f. HTTP-tunneling

 
achana chan
Ranch Hand
Posts: 277
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13058
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 277
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.* ???
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic