wood burning stoves 2.0*
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
Author

Java NIO package

dushantha Rathnayake
Ranch Hand

Joined: Feb 27, 2010
Posts: 103
Hi,

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.
 
GeeCON Prague 2014
 
subject: Java NIO package