• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Successes with Socket based implementations?

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Guys,
Since I am a lot more familiar with Sockets than RMI, I wrote my implementation using Sockets. It is working great. However, on this forum it seems, most every one has done RMI based implementation.
Have many people have passed the test with Socket implementation? What types of justification can you give for choosing Sockets over RMI (besides the one I have)?
Thanks in advance.
--Arun
 
Ranch Hand
Posts: 301
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I can't really speak for sockets because I used RMI, but I was looking througt a java programmer/developer exam book at the bookstore and saw that they had a sample train station booking project and used sockets... they may have had reasons for going the socket approach, but I can remember them. You might check that out if you have a Borders or Barnes & Noble around... just look through the books in the java cert section
 
Ranch Hand
Posts: 3451
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Arun,
One advantage to Sockets is that it is easier to get through firewalls. The default implementation of RMI uses anonymous ports for Socket connections making it almost impossible to work with a firewall. With a sockets solution, you can use specific ports which can be easily opened up in the firewall by the network administrator.
Hope this helps,
Michael Morris
reply
    Bookmark Topic Watch Topic
  • New Topic