Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
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 Badass: Making Users Awesome this week in the Game Development 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