I can put together a small demo showing a basic implementation of how it
works if you want....

-kurt

-----Original Message-----
From: Noel J. Bergman [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 06, 2003 5:20 PM
To: Avalon Developers List
Subject: RE: jdk1.4 nio

OK, I see those and just read through them.  However, I don't see how they
tie into the Avalon socket handler mechanism, and that exposes the real
issue which is that handlers need to be invoked as data arrives and return
(push processing), rather than handle thread and socket (pull processing).

        --- Noel

-----Original Message-----
From: Shunhui Zhu [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 05, 2003 19:16
To: Avalon Developers List
Subject: RE: jdk1.4 nio


I found them in org.apache.avalon.cornerstone.blocks.channels.* and
org.apache.avalon.cornerstone.services.channels.*.

Shunhui

-----Original Message-----
From: Noel J. Bergman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 05, 2003 3:55 PM
To: Avalon Developers List
Subject: RE: jdk1.4 nio


Kurt,

Where?  I'd like to take a look at that channel package.  For James, it
might be good to offer either java.io or java.nio as appropriate.  You
actually cannot use only nio, because nio doesn't support SSL.

        --- Noel

-----Original Message-----
From: Kurt Hoehn [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 05, 2003 8:23
To: 'Avalon Developers List'
Subject: RE: jdk1.4 nio


Yes, there is a channel package that contains a basic channel manager and
channel interfaces for NIO support.  I implemented the component into a
proxy application and the speed seemed very good.

Kurt

-----Original Message-----
From: Shunhui Zhu [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 04, 2003 8:12 PM
To: Avalon Developers List
Subject: jdk1.4 nio

Hi, are there any ServerSocketFactory implementations in cornerstone that
uses the nio in jdk1.4? are there any avalon applications using it? I heard
the nio implementations by sun have some bugs and are even slower than
blocking sockets in win32, is that true? what's avalon/cornerstone/phoenix's
policy on using jdk1.4 features in general?

Thanks.

Shunhui


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to