aspose file tools*
The moose likes Sockets and Internet Protocols and the fly likes Object serialization with Java NIO Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Object serialization with Java NIO" Watch "Object serialization with Java NIO" New topic
Author

Object serialization with Java NIO

Daniel Zuckermann
Ranch Hand

Joined: May 14, 2012
Posts: 50
Hello people,
I am not sure how I could serialize objects to send them over the internet from one Java NIO client socket to a Java NIO server socket. NIO sockets read from buffers, so I have to serialize the objects before and then somehow read them into the buffer. How does this work?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Object serialization with Java NIO
 
Similar Threads
what is Java NIO and when should I use it?
Unblocking sockets
How to upload a file of size >8GB ?
How to write telnet server like program?
Convert nio bytebufer to String newbie