Please contact Oracle support team if you want more help about how-to.

Xuelei

On 4/12/2012 5:54 PM, lixiangfeng wrote:
Thanks your reply.

I find some description in this PPT,it can help me to write ssl/tls
implements use sslengine and aio.

Is there some exsample and test code  can show me how to use sslengine
with aio? I think ,oracle (or openjdk group should test their api use
java code. It is useable to me.

Is their anyone can help me?

*发件人:*Xuelei Fan [mailto:xuelei....@oracle.com]
*发送时间:*2012年3月31日16:49
*收件人:*lixiangfeng
*抄送:*
*主题:*Re: Asynchronous IO in SSL

On Mar 31, 2012, at 4:26 PM, lixiangfeng <lixiangf...@infosec.com.cn
<mailto:lixiangf...@infosec.com.cn>> wrote:

    I use JDK7,use SSL ServerSocket to accept a SSL Socket
    Connection,Can I use *Asynchronous
    
<http://docs.oracle.com/javase/7/docs/api/java/nio/channels/AsynchronousServerSocketChannel.html#AsynchronousServerSocketChannel%28java.nio.channels.spi.AsynchronousChannelProvider%29>
    IO?*

I am afraid that It is not the normal approach to use asynchronous IO.
The server socket may be the bottleneck. You may be interested in the
blog:
http://sim.ivi.co/2011/06/java-approach-to-lightweight-servers.html,
which talked about how to use NIO2 and SSL together.

Xuelei


Reply via email to