2 replies
by sarkiyaki1
rmi is Jse technology where as Servlet is J2ee technology.
Advantages: rmi is reliable in remote communications between machines, where as Servlets are reliable in business logic control.
Disadvantages: rmi requires stub and skeletons in order to operate. Servlets must be embedded inside an html which is too cumbersome.
by pra_kie
rmi depends on the socket and protocol basis. here one disadvantage is firewalls can restrict the contents or objects throough the rmi. while servlet the content's html format. then's the improvement is rmi , rmi-iiop (ibm involved in this dev. module) for socket basis distributed computing----- ejb 1.0, ejb 2.0 for enterprise distributed computing, rmi based apps are running on rmiserver (rmiregistry) u must consider the loadbalancing,transaction here. servlet apps are running on servlet enabled webservers or application servers.
Advantage....
RMI - it's comes with the jdk itself
- structured one, u can customize ur own format for ur apps
Servlets - u need webserver or application server
my opinion is, servlet is best compare with rmi.
rmi used some circumstances like intranet applicaitons and C/c++ level networking
servlet used any circumstances - one advantage is u can use rmi in servlet applications viceversa
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending