File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Head First Android this week in the Android 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!