I'm interested in BIO because I would like to use MINA to write a network service that works through both traditional network connections as well as 'network virtualization' packages that may only provide Socket style interfaces. In this particular case, I'd like to build my service to work both on IP networks and JXTA based networks.
JXTA provides JxtaSockets which are a subclass of java.net.Socket. If I had a MINA transport that worked with SocketFactory to create Sockets, I'd have almost no work left to get MINA to run on top of JXTA. I could write one version of my network service to run in MINA and it would never have to be aware of the difference between JXTA and IP clients. Where can I find the old BIO code? I did a log history on the bio package in subversion and it didn't appear to have ever contained any code. Is it on a branch? Cheers Chris -----Original Message----- From: Robert Greig [mailto:[EMAIL PROTECTED] Sent: Saturday, January 27, 2007 7:55 AM To: [email protected] Subject: Re: SocketFactory based transport for MINA We wrote one as an experiment, to prove or disprove the wild rumour that NIO can be slower than BIO for a small number of connections. It didn't have all the features (e.g idle notifications) but it worked well enough for us to run our tests. We could not find any case where BIO was faster the NIO. We don't maintain the code any longer although perhaps we could dig it out our svn if anyone was really interested. What is your interest in BIO? RG
