The most intelligent Java IDE
[Logo] JavaRanch » JavaRanch Saloon
  Search | FAQ | Recent Topics | Hot Topics
Register / Login


Reply Bookmark it! Watch this topic JavaRanch » Forums » Other Languages » Other Languages
 
RSS feed
 
New topic
Author

Difference between Remote Procedure Call and HTTP

Ravi Kiran V
Ranch Hand

Joined: Apr 18, 2009
Messages: 1203

Hi

I dont understand what is meant by Remote Procedure call
I have gone through its definations , but i cannot find ay difference between a Remote Procedure call and a HTTP

(As per web it says this
(Remote procedure call (RPC) is an Inter-process communication technology that allows a computer program to cause a subroutine or procedure to execute in another address space without the programmer explicitly coding the details for this remote interaction.)


Please tell me how this is different from a Http call ??
Thank you .

I tried to change the world, but I couldn’t find the source code
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Messages: 8544

One uses HTTP the other might not.

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Chinna Eranna
Ranch Hand

Joined: Dec 08, 2009
Messages: 126

Aim of both RPC and HTTP is same.. execute some code @ server side..

We can use different mechanism to acheive.. RPC..

Use either Java RMI / XML RPC /CORBA .. and so on.

But HTTP is a standard protocol which will invoke a particular resource on the server.

- Chinna
Ravi Kiran V
Ranch Hand

Joined: Apr 18, 2009
Messages: 1203

I just want to confirm one thing on this .

If we call a SessionBean or some RemoteObject (normal java class) from my Swing application , will that be treated as a Remote Procedure call??

Please share your ideas .

I tried to change the world, but I couldn’t find the source code
Chinna Eranna
Ranch Hand

Joined: Dec 08, 2009
Messages: 126

I would say.. YES.

Actually EJB Components are invoked using RMI-IIOP.. again a flavour of RPC.

http://java.sun.com/products/rmi-iiop/

- Chinna
Ravi Kiran V
Ranch Hand

Joined: Apr 18, 2009
Messages: 1203

Thank you very much for clearning my doubt

I tried to change the world, but I couldn’t find the source code
 
 
 
Reply Bookmark it! Watch this topic JavaRanch » Forums » Other Languages » Other Languages
 
RSS feed
 
New topic
IntelliJ open source

.