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 Object serialization with Java NIO 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 "Object serialization with Java NIO" Watch "Object serialization with Java NIO" New topic

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:
subject: Object serialization with Java NIO
It's not a secret anymore!