Re: JAX-RS support for JOnAS ?
"S. Ali Tokmen" <[email protected]>
| Newsgroups | gmane.comp.java.objectweb.jonas |
|---|---|
| Message-ID | <[email protected]> |
Hello Frédéric
I guess you're doing all these with JOnAS 5.1.x. To compare:
* JOnAS 5.1.x (STABLE): Shipped with JAX-WS 2.0, it uses CXF 2.0.x.
I guess JAX-RS did not exist back then.
* JOnAS 5.2.0 Mx (Curently marked as "milestone", is actually pretty
stable since it passes Java EE 5 certification): Shipped with
JAX-WS 2.1 (and perhaps will even be shipped 2.2 as it is a
milestone?), it therefore uses CXF 2.2.x. Include the JAX-RS API
bundles as well I think.
So, can you retry with JOnAS 5.2.0 M3 if possible?
Cheers
S. Ali Tokmen
http://ali.tokmen.com/
GSM (fr): +33 66 43 00 555 [Orange]
GSM (tr): +90 555 266 52 73 [Avea]
My AIM, ICQ, MSN Messenger and Yahoo IM
contact details are on http://contact.ali.tokmen.com
On 15.12.2010 17:07, Frederic Dang Tran wrote:
> Hi:
>
> I'd like to know what is the best and cleaner way to implement a JAX-RS-based RESTful web service on JOnAS using CXF ?
> My current brute-force solution consists of:
> -packaging the CXF 2.2.11JAX-RS bundle along with all its dependencies within the WAR (in WEB-INF/lib/)
> -tweaking the $JONAS_BASE/conf/classloader-default-filtering.xml to avoid conflict with native JOnAS libraries
>
> Is there a more lightweight approach ?
>
> Regards,
>
> Frederic Dang Tran
> Orange Labs
>
>
>