This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
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
It's not a secret anymore!