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.