This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization 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: 13056
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