users@jersey.java.net

Re: [Jersey] Is Jersey Compatible with Other Appserver like weblogic,JBOSS

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Thu, 19 Nov 2009 18:33:07 +0100

On Nov 19, 2009, at 6:16 PM, Anil Kumar Veeramalli wrote:

> Hi,
>
> I am planing to choose Jersey API's to implement RESTful
> webservices.I want my application to work with All the appservers
> (Glassfish,JBOSS,Weblogic) without any change in configuration.
>

There are some issues with automatic scanning of provider and root
resource classes on JBoss 5.x and WebLogic.

Specifically:

- class and package scanning does not currently work on JBoss 5.1.x; and

- class scanning does not currently work on WebLogic.

For details of package and class scanning see:

  https://jersey.dev.java.net/nonav/apidocs/1.1.4/jersey/com/sun/jersey/spi/container/servlet/ServletContainer.html

I am working on a fix (see issue 32).

The workaround is to explicitly declare your dependencies using an
extension of Application, see:

   https://jersey.dev.java.net/nonav/documentation/1.1.4/user-
guide.html#d4e194

Paul.


> So I wanted to check whether Jersey is compatible with other
> Appservers.
>
> Thanks,
> Anil
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>