This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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.
Mike<br />SCJP 1.4<br />----------------------------<br />email@example.com<br />----------------------------<br />There are 10 types of people<br />in the world. Those that <br />understand binary, and those<br />that don't.
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.
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.