Peter Liu wrote:
> Hi Paul,
>
> Any progress on this?
>
Ooops, thanks for the reminder.
The following is the set of jars as referenced by the Bookmark example
(which uses servlet) and uses the APT tool to generate WADL:
file.reference.activation.jar-1=../../lib/activation.jar
file.reference.javaee.jar=lib/javaee.jar
file.reference.jaxb-api.jar-1=../../lib/jaxb-api.jar
file.reference.jaxb-impl.jar-1=../../lib/jaxb-impl.jar
file.reference.jaxb-xjc.jar-1=../../lib/jaxb-xjc.jar
file.reference.jaxws-api.jar-1=../../lib/jaxws-api.jar
file.reference.jdom-1.0.jar-1=../../lib/jdom-1.0.jar
file.reference.jersey.jar=../../dist/jersey.jar
file.reference.jettison-1.0-RC1.jar=../../lib/jettison-1.0-RC1.jar
file.reference.json.org.jar=../../lib/json.org.jar
file.reference.jsr173_api.jar-1=../../lib/jsr173_api.jar
file.reference.jsr250-api.jar-1=../../lib/jsr250-api.jar
file.reference.jsr311-api.jar=../../lib/jsr311-api.jar
file.reference.localizer.jar-1=../../lib/localizer.jar
file.reference.mail.jar-1=../../lib/mail.jar
file.reference.persistence-api-1.0.jar-1=../../lib/persistence-api-1.0.jar
file.reference.rome-0.9.jar-1=../../lib/rome-0.9.jar
file.reference.wadl2java.jar-1=../../lib/wadl2java.jar
For the runtime this can be reduced (notice the jars included in the
war) to the following:
file.reference.activation.jar-1=../../lib/activation.jar
file.reference.javaee.jar=lib/javaee.jar
file.reference.jaxb-api.jar-1=../../lib/jaxb-api.jar
file.reference.jaxb-impl.jar-1=../../lib/jaxb-impl.jar
file.reference.jaxws-api.jar-1=../../lib/jaxws-api.jar
file.reference.jdom-1.0.jar-1=../../lib/jdom-1.0.jar
file.reference.jersey.jar=../../dist/jersey.jar
file.reference.jettison-1.0-RC1.jar=../../lib/jettison-1.0-RC1.jar
file.reference.json.org.jar=../../lib/json.org.jar
file.reference.jsr173_api.jar-1=../../lib/jsr173_api.jar
file.reference.jsr250-api.jar-1=../../lib/jsr250-api.jar
file.reference.jsr311-api.jar=../../lib/jsr311-api.jar
file.reference.localizer.jar-1=../../lib/localizer.jar
file.reference.mail.jar-1=../../lib/mail.jar
file.reference.persistence-api-1.0.jar-1=../../lib/persistence-api-1.0.jar
file.reference.rome-0.9.jar-1=../../lib/rome-0.9.jar
This is a conservative set for EE 5, which can probably be reduced further.
There is currently an annoying bug that requires one to supply all jars
for dependent entity provides even if such providers are not used. For
example, if i can fix this then it should be possible to avoid using the
jdom/json/jettison/rome jars if JSON/Atom is not required.
Paul.
--
| ? + ? = To question
----------------\
Paul Sandoz
x38109
+33-4-76188109