The moose likes Sockets and Internet Protocols and the fly likes Java NIO package 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 "Java NIO package" Watch "Java NIO package" New topic

Java NIO package

dushantha Rathnayake
Ranch Hand

Joined: Feb 27, 2010
Posts: 103

I am going to develop a server. In this case I have to use socket programming. I am already developed some servers using java ServerSocket's. I heard about java.nio package from my friend. So I want to know what is the best way to develop my server using java.netServerSocket or java.nio.channels.ServerSocketChannel . Please give me your comments. I mean I need the advantages and disadvantages. Please help me.

Thank you.
I agree. Here's the link:
subject: Java NIO package
jQuery in Action, 3rd edition