I meant to add that I tried throwing the kitchen since at JTF by
adding all the JARs under %GLASSFISH_HOME%\glassfish\modules and I
ended up getting the following exception when running my test:
SEVERE: Error when configuring to use the EJB interceptor binding API.
JAX-RS EJB support is disabled.
This was running via the GrizzleyWebTestContainer. Yea I know I was
asking for trouble but I thought the error was interesting none the
less.
-Noah
On Tue, Mar 2, 2010 at 9:07 PM, NBW <emailnbw_at_gmail.com> wrote:
> Many of my Jersey Resource classes use injected EJBs. I was wondering
> if it is possible to use the Jersey Test Framework to test these
> resource classes. I thought perhaps I might be able to use the
> ExternalContainerFactory and -DJERSEY_HTTP_PORT=8080 (my GFv3
> http-listener-1 port). If this is possible how do you instruct the JTF
> to deploy to the container or do you have to do that manually prior to
> running your JTF test? Any samples using JTF to an external GFv3
> container would be nice (assuming I can go that route to do in
> container tests with my EJBs). Thanks.
>
> -Noah
>