aspose file tools*
The moose likes Sockets and Internet Protocols and the fly likes Reference book for network applications Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Reference book for network applications" Watch "Reference book for network applications" New topic
Author

Reference book for network applications

Michael Cleary
Ranch Hand

Joined: Jul 29, 2003
Posts: 93
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


Mike<br />SCJP 1.4<br />----------------------------<br />mdcleary@earthlink.net<br />----------------------------<br />There are 10 types of people<br />in the world. Those that <br />understand binary, and those<br />that don't.
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8927
    
    9

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.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Michael Cleary
Ranch Hand

Joined: Jul 29, 2003
Posts: 93
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

Joined: Jun 13, 2004
Posts: 1033
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Reference book for network applications