I am writing a socket client for interacting with a network service. Currently because I want to support async reading and writing I am threading both the output stream and the input stream of one socket, but I was wondering if there is a better way to do this. I have taken a look at Java NIO and was not very impressed, and I also looked at Mina, but was wondering if anyone had any better ideas.
Thanks.