| Author |
Difference between Remote Procedure Call and HTTP
|
Ravi Kiran Va
Ranch Hand
Joined: Apr 18, 2009
Posts: 2234
|
|
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 .
|
Save India From Corruption - Anna Hazare.
|
 |
Paul Sturrock
Bartender
Joined: Apr 14, 2004
Posts: 10336
|
|
|
One uses HTTP the other might not.
|
JavaRanch FAQ HowToAskQuestionsOnJavaRanch
|
 |
Chinna Eranna
Ranch Hand
Joined: Dec 08, 2009
Posts: 174
|
|
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 Va
Ranch Hand
Joined: Apr 18, 2009
Posts: 2234
|
|
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 .
|
 |
Chinna Eranna
Ranch Hand
Joined: Dec 08, 2009
Posts: 174
|
|
I would say.. YES.
Actually EJB Components are invoked using RMI-IIOP.. again a flavour of RPC.
http://java.sun.com/products/rmi-iiop/
|
 |
Ravi Kiran Va
Ranch Hand
Joined: Apr 18, 2009
Posts: 2234
|
|
|
Thank you very much for clearning my doubt
|
 |
 |
|
|
subject: Difference between Remote Procedure Call and HTTP
|
|
|