hi all I have read RMI uses its own protocols for request and response Conversation between server and client.I could not understand the difference between HTTP and the RMI protocols . Please let me know How does RMI protocols sends request....? How does it differ from HTTP request response? thanks in advance Vikas
Hi vikasids sharma ! RMI is a distributed object computing mechanism. RMI is object-oriented while HTTP is not.RMI is java-to-java communication mechanism. HTTP is not specific to any language.HTTP as the name implies is a hyper-text transfer mechanism and is stateless. HTTP uses TCP/IP for communication. Bydefault RMI uses TCP.But one can change the protocol using factory methods. RMI uses stubs and skeletons to communicate between different machines and RMI registry for name resolution.HTTP uses DNS for name resolution.
vikasids sharma
Ranch Hand
Joined: Aug 01, 2003
Posts: 157
posted
0
Thanks Muthty Can we say HTTP protocol is not used at all in RMI and as we say EJB uses RMI paradigm of request and response.So in EJB also we dont use HTTP at all when our remote client makes a call at server . please correct me if i m wrong
Originally posted by Murthy Narasimha: Hi vikasids sharma ! RMI is a distributed object computing mechanism. RMI is object-oriented while HTTP is not.RMI is java-to-java communication mechanism. HTTP is not specific to any language.HTTP as the name implies is a hyper-text transfer mechanism and is stateless. HTTP uses TCP/IP for communication. Bydefault RMI uses TCP.But one can change the protocol using factory methods. RMI uses stubs and skeletons to communicate between different machines and RMI registry for name resolution.HTTP uses DNS for name resolution.
Idly Vada
Ranch Hand
Joined: Sep 02, 2003
Posts: 135
posted
0
Originally posted by vikasids sharma:
Can we say HTTP protocol is not used at all in RMI and as we say EJB uses RMI paradigm of request and response.So in EJB also we dont use HTTP at all when our remote client makes a call at server .
Yes, HTTP does not come into picture of RMI. And EJBs use RMI over IIOP (Internet inter-object protocol)