Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reference book for network applications

 
Michael Cleary
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure if this is the right forum for this, but I'm looking for a good reference book on Java network applications. Although I don't know all the details yet, I'll be working on an application which will communicate with a file server and various clients (Windows, Solaris, Linux, etc.). It will actually be a new component of an existing application which is run either as an applet or a standalone java application. I have searched amazon.com and most of what I found had very mixed reviews. I also looked in the "bunkhouse" but didn't find much related to this area.

One book which seemed promising (on amazon) was "TCP/IP Sockets in Java: Practical Guide for Programmers" by Kenneth Calvert and Michael Donahoo.

Any suggestions would be greatly appreciated.

Thanks,
Mike
 
Joe Ess
Bartender
Pie
Posts: 9258
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found Network Programming with Java 2 by Mahmoud to be a good starting point.
There's some good information online as well. For example, the Java Tutorial has a chapter on Custom Networking.
You should look into using RMI (Remote Method Invocation). It makes networking as simple as invoking a method, only the method is on an object that lives on a remote computer. Again, the Java Tutorial has a tutorial.
This question probably belongs in the Sockets and Internet Protocols forum, so let's fish for more follow-ups there.
 
Michael Cleary
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks - I think I'll take a look at Network Programming with Java 2. I have also looked at some RMI books online. I think a trip to the bookstore is in order so I can actually paw through them a bit.

Thanks again,
Mike
 
peter wooster
Ranch Hand
Posts: 1033
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Michael Cleary:
Thanks - I think I'll take a look at Network Programming with Java 2. I have also looked at some RMI books online. I think a trip to the bookstore is in order so I can actually paw through them a bit.

Thanks again,
Mike


You might also check out Java Network Programming and Java NIO, both published by O'Reilly. Java Network Programming covers streams, sockets, server sockets, URL's and RMI. Java NIO covers the 1.4 enhancements of channels, buffers, selectors and regular expressions.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic