Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Successes with Socket based implementations?

 
Arun J Kumar
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • 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
 
Nate Johnson
Ranch Hand
Posts: 301
  • Mark post as helpful
  • send pies
  • 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
 
Michael Morris
Ranch Hand
Posts: 3451
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic