users@jersey.java.net

Re: Grizzly Container is completely wrong, if I read it correctly

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Wed, 28 Nov 2007 10:07:34 +0100

Jeanfrancois Arcand wrote:
>> My preference would be to only support the latest greatest stable
>> Grizzly.
>
> Agree...and the latest is faster :-)
>
> I've ported the code (it compile with the latest Grizzlies jars)...

Great!


> now I
> don't recall how to test it (as usual)....any pointers of what I should
> run/try before submitting the patch will be helpful!
>

Perhaps the best thing to do is copy a unit test from the LW HTTP server.

See the test package:

   com.sun.ws.rest.impl.container.httpserver

and the classes:

   AbstractHttpServerTester
   QueryParamTest

You could copy these classes to the package

   com.sun.ws.rest.impl.container.grizzly

and modify accordingly.

Note that we do plan to improve the unit testing framework to make it
easy to test independent of the container but we are not their yet so it
is necessary to duplicate such tests.

Paul.

-- 
| ? + ? = To question
----------------\
    Paul Sandoz
         x38109
+33-4-76188109