users@jersey.java.net

Re: [Jersey] Packages to be exported/imported for Jersey jar files

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Tue, 13 Oct 2009 10:59:11 +0200

Hi Charles,

In terms of compilation modules only depend on stuff in other modules
that is not in *impl* packages i.e. a package name that contains the
string ".impl.". Thus one should export non-impl packages.

However, there might be a complication w.r.t. to the use of classes
declared in META-INF/service files. Those classes are in impl
packages, but the the interface they implement is not. A module say
jersey-server will load classes declared in META-INF/service files of
jersey-core, jersey-json etc..

Jakub is working on making Jersey work correctly in OSGi environments
(using ServiceMix) but it is taking us longer that we anticipate
because EE 6 is a high priority.

Paul.

On Oct 9, 2009, at 12:42 PM, Charles Moulliard wrote:

> Hi,
>
> I'm preparing MANIFEST files required to deploy Jersey top of an OSGI
> server which is not Glassfish but Apache Felix Karaf.
>
> Can someone tell me what are the packages that we must import /
> export for :
> - jersey-core-1.1.5-ea-SNAPSHOT.jar
> - jersey-json-1.1.5-ea-SNAPSHOT.jar
> - jersey-server-1.1.5-ea-SNAPSHOT.jar
> - jersey-atom-1.1.5-ea-SNAPSHOT.jar
> - jersey-fastinfoset-1.1.5-ea-SNAPSHOT.jar
> ...
>
> Regards,
>
> Charles Moulliard
> Senior Enterprise Architect
> Apache Camel Committer
>
> *****************************
> blog : http://cmoulliard.blogspot.com
> twitter : http://twitter.com/cmoulliard
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>