Woozle Wuzzle
Input / OutputStream NIO wrapper to faciliate Java 1.4 SSL

As was alluded to in the main NIO and SSL entry, I have made convenience code available at:

    http://www.realityinteractive.com/software/oss/index.html

Refer to the release notes for information about what is been made available. If you have any comments or questions, just post a comment and I will respond as soon as possible.

It is not mentioned in the source or readme (I will rectify this shortly) that the intention for the conversion is specifically for long running clients. No thought has been given to "fast attack" clients or server (e.g. HTTP).

Performance results are available through the following links:

Link-back to main entry: NIO and SSL.

Comments
Comment by Simon Cadieux at January 6, 2006 02:01 PM

Hi,
I'm trying to intermix SSL sockets and plain sockets on the same selector, without any hassle. I already have my client and server implemented. Now I want to be able to create SSL sockets and register them with the selector, either as a client or server socket. Will you package allow me to do that? If so, where should I start looking at? Which classes are of most interest for me.
Thanks.
Simon

 

Comment by rgrzywinski at January 8, 2006 08:15 AM

If you're using JDK 1.5 then I would use the facilities that they provide for NIO + SSL. Look for "SSLEngine" and that should get you down the right path.

If you're looking at JDK 1.4 then look at:

http://forum.java.sun.com/thread.jspa?threadID=592674&tstart=0

first. If what's presented there will work for you then run that way.

Only as a last result will my classes be marginally useful for you.

Good luck!

 

Post a comment













Remember personal info?






Creative Commons License Unless otherwise expressly stated, all original material of whatever nature created by Rob Grzywinski and included in this weblog and any related pages, including the weblog's archives, is licensed under a Creative Commons License.