Hi Tom, On Mon, Sep 20, 2010 at 8:19 AM, Tom Barber <[email protected]> wrote: > ...I'm clutching at straws here cause the jersey ml is pretty quiet and I > can't find any useful information > on google. Anyone tried creating a restful client bundle with the Jersey > client libs?...
I haven't tried on Sling directly, but in the IKS FISE project we did get the Jersey stuff working under OSGi using the Sling launcher. The pom and code of the "jersey" module [1] there should help, and maybe have a look at the classes in the ./src/main/java/eu/iksproject/fise/jersey package there. > > ...I ask only because I keep getting a null pointer when my client calls > MediaType.valueOf() because > delegate is null, which looks like an initialisation problem... I don't remember seeing that particular problem in FISE. Please let us know if you get this working in Sling, having an example would be good. -Bertrand [1] https://iks-project.googlecode.com/svn/sandbox/fise/trunk/jersey
