users@grizzly.java.net

ServletAdapter Issue/question :)

From: Richard Corsale <igf1_at_yahoo.com>
Date: Thu, 29 Jan 2009 11:01:27 -0800 (PST)

well ok, I havnt looked at the grizzly server n a few months. I have 9.3 now and a few things poped up at me that I found odd.

1. why is the addGrizzlyAdapter(ServletAdapter) depreciated in favour of addGrizzlyAdapter(ServletAdapter, String[])? The context is clearly defined in the servletAdapter and if you drop the no array version, you are going to make the user redefine this in an array when they add it? I mean from a usability standpoint I feel its better suited as a property of the adapter, and perhaps should be encapsulated there.. But it seems that if you were going to force the context to adapter relationship at the addAdapter junction, you should also depreciate the ability to add context to the adapter itself?


2. Why in the world are you still using arrays :)



--Richard