users@jersey.java.net

help configuring the minimal set of jars to each media type

From: Leonardo <sombriks_at_gmail.com>
Date: Tue, 13 Apr 2010 20:52:28 -0300

hello all.

i'm new with jersey and can't use maven due to proxy issues.

i would like to set up a minimal jersey configuration to enable a
small service to work:

http://pastebin.com/1pJZeUdc

actually only ping works, but i would like to see the pojo and the
list onde working.

my classpath have those jars for now:

* jersey-core-1.1.5.1.jar
* jersey-server-1.1.5.1.jar
* jsr311-api-1.1.jar
* asm-3.1.jar

i have the jersey servlet configured too. he's doing a full scan on my
classpath to find resources:

http://pastebin.com/DFKuzGUR

now which jars do i have to add to enable transparent xml <==> bean
transformation? do i have do add any kind of annotation on the bean?

i've downloaded already the following jars:

* jaxb-api-2.1.jar
* jaxb-impl-2.1.12.jar
* stax-api-1.0-2.jar
* wstx-asl-3.2.1.jar
* FastInfoset-1.2.2.jar
* jersey-json-1.1.5.1.jar
* mimepull-1.3.jar
* activation-1.1.jar
* jersey-multipart-1.1.5.1.jar
* jackson-core-asl-1.1.1.jar
* jettison-1.1.jar
* mail-1.4.jar


but i don't want to add them all, just "the right ones", :)

thanks in advance.