• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

RMI or sockets?

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
I am wondering what the relative advantages/disadvantages of using RMI vis-a-vis sockets for the assignment.
Which one is easier to code?
Which one creates cleaner/neater code?
What about debugging ease?
Thanks for any comments.
 
Ranch Hand
Posts: 275
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
Just search this forum with "RMI v Sockets" as the criteria to match.
Ian
 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Murphy Patrick or is it Patrick Murphy??
Do yourself a giant favor and use RMI. RMI will save you the overhead of having to establish an object protocol as well as adding server logic that keeps track of connected clients. Sockets communicates to remote machines by passing objects back and forth whereas RMI does not. RMI is also the basis or EJBs, so if you plan on continuing with architecture stuff, RMI will probably provide a better foundation. Sockets would be cool to implement, but the associated overhead sure adds to the already large task of the FBN application. Good luck
 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i dont know ab ur application but i think rmi is always better than socket programming and easier to program. i have worked on both and found rmi very easy as compared to sockets.
 
Murphy Patrick
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Mike Wiegand:
Hi Murphy Patrick or is it Patrick Murphy??


It is Patrick Murphy.
The registration won't take that so I used my last name first
Thanks for your comments. Makes the choice easier for me.
-Pat
 
Hey, check out my mega multi devastator cannon. It's wicked. It makes this tiny ad look weak:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic