RE: The future of Tomcat and java.nio

2002-12-11 Thread Felipe Schnack
Yes... would be really cool, I took a look at these packages... but I think probably tomcat will implement them in a year or more, 1.3 is being used by a lot of people yet. On Wed, 2002-12-11 at 04:13, Nicholas Orr wrote: You might get a faster reply from developers if you post this in the

RE: The future of Tomcat and java.nio

2002-12-11 Thread Shapira, Yoav
Howdy, This is a common, and will become even more prevalent, question. ;) Mr. Schnack's answer explains a big part of it: right now we still have a lot of users using JDK's older than 1.4. A JDK 1.4 requirement is not possible for the 4.x branch of tomcat. For Tomcat 5.x, there may be some

RE: The future of Tomcat and java.nio

2002-12-11 Thread Rademacher Tobias
Hi Folks, you can wrap a ServletInputStream or ServlertOuputStream with a Channel. Just use: java.nio.Channels.newChannel(inStream); So you are able to use nio into your servlets. I understand that's hard to port form old io to nio. But when you are able to use 1.4+ and you are also able to

Re: The future of Tomcat and java.nio

2002-12-11 Thread Jeanfrancois Arcand
The Servlet 2.4 (Tomcat 5) spec clearly say that we have to support JDK 1.3...That's one of the reason why nio is not used. Once 1.4 will be required, then we will evaluate the possibility of using nioGet ready to submit patches at that time :-) -- Jeanfrancois Joe Tomcat wrote: It seems

RE: The future of Tomcat and java.nio

2002-12-11 Thread micael
PLEASE make them use JDK 1.4. At 08:22 AM 12/11/2002 -0500, you wrote: Howdy, This is a common, and will become even more prevalent, question. ;) Mr. Schnack's answer explains a big part of it: right now we still have a lot of users using JDK's older than 1.4. A JDK 1.4 requirement is not

RE: The future of Tomcat and java.nio

2002-12-11 Thread Shapira, Yoav
Howdy, I can't make anyone use anything ;) Like other Jakarta projects, things like these must be voted upon among the developers, and only committers (as opposed to plain contributors like me) can vote. I would point out that like Mr. Arcand, said, the servlet spec 2.4 doesn't require JDK

RE: The future of Tomcat and java.nio

2002-12-11 Thread micael
All good points, of course. I just don't understand why certain things move so slow. This is one thing that seems to be much slower than reasonable conduct would dictate. NIO is so important that we should do quite a lot to move to it. At 02:51 PM 12/11/2002 -0500, you wrote: Howdy, I can't

RE: The future of Tomcat and java.nio

2002-12-11 Thread Noel J. Bergman
Micael, NIO is so important that we should do quite a lot to move to it. IIRC, java.nio doesn't support SSL until probably JDK 1.5. Even if you discount JDK 1.3, java.nio is not quite an entire replacement, yet. --- Noel -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

Re: The future of Tomcat and java.nio

2002-12-11 Thread Rasputin
* micael [EMAIL PROTECTED] [1241 19:41]: PLEASE make them use JDK 1.4. Please don't. 1.4 is unstable on many platforms at present. -- Rasputin :: Jack of All Trades - Master of Nuns -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

Re: The future of Tomcat and java.nio

2002-12-11 Thread Joe Tomcat
On Wed, 2002-12-11 at 09:25, Jeanfrancois Arcand wrote: The Servlet 2.4 (Tomcat 5) spec clearly say that we have to support JDK 1.3...That's one of the reason why nio is not used. Once 1.4 will be required, then we will evaluate the possibility of using nioGet ready to submit patches at

RE: The future of Tomcat and java.nio

2002-12-11 Thread Noel J. Bergman
I'll be working on those patches but the spec talks about the servlet container, not the connector, right? So if Tomcat has a container which relies on NIO it would be ok, right? And the container is where NIO would make the most difference. Don't you mean the CONNECTOR in those last

RE: The future of Tomcat and java.nio

2002-12-11 Thread Joe Tomcat
On Wed, 2002-12-11 at 17:05, Noel J. Bergman wrote: I'll be working on those patches but the spec talks about the servlet container, not the connector, right? So if Tomcat has a container which relies on NIO it would be ok, right? And the container is where NIO would make the most

Re: The future of Tomcat and java.nio

2002-12-11 Thread Jeanfrancois Arcand
Joe Tomcat wrote: On Wed, 2002-12-11 at 09:25, Jeanfrancois Arcand wrote: The Servlet 2.4 (Tomcat 5) spec clearly say that we have to support JDK 1.3...That's one of the reason why nio is not used. Once 1.4 will be required, then we will evaluate the possibility of using nioGet ready

Re: The future of Tomcat and java.nio

2002-12-11 Thread Craig R. McClanahan
On 11 Dec 2002, Joe Tomcat wrote: Date: 11 Dec 2002 12:39:11 -0800 From: Joe Tomcat [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: The future of Tomcat and java.nio On Wed, 2002-12-11 at 09:25, Jeanfrancois Arcand

RE: The future of Tomcat and java.nio

2002-12-11 Thread Noel J. Bergman
Craig, From a technical perspective, people whose judgement I respect don't think that NIO will really help a servlet container much. Of course, you can't prove that assertion until you actually implement it and benchmark it ... One of the things that I took away from from Mr. Sun's

RE: The future of Tomcat and java.nio

2002-12-10 Thread Nicholas Orr
You might get a faster reply from developers if you post this in the developers mailing list. It would be good to see something like this. I only use apache for this fact of fast static content serving and nothing else. Nicholas Orr -Original Message- From: Joe Tomcat [mailto:[EMAIL