John,
If the product that you’re using supports these technologies, the JAX-RS implementation must support those entity providers (as discussed in this thread). The term “support” really implies out of the box, without any manual registration steps.
— Santiago
Andy
So I think that partially answers what I'm looking for, though I'm thinking something in section 5 should call out whether or not these MBR's/MBW's are registered automatically or not (w/r/t to 11.2.6-7).
As I know you've noticed, there's no portable way to be made aware when a new client is created. So as a result, the integration of such a component is non-portable, and thus makes the two not work well together.
You may want to pitch that other client feature you're working on over here.
John Hi John,
Section 4.2.4 lists the types that all JAX-RS implementations must handle out of the box. It also points to section 11.2.6-7 referring to JSON-P and JSON-B, but that section does seem to imply that these providers are only required if the implementation provides those APIs.
So my opinion would be that all JAX-RS client implementations must handle the basic set of return types / media types, but the JSON support is optional - and thus non-portable. That said, I think most of the major vendors support JSON-P/B, so the portability shouldn’t be too much of an issue.
Hope this helps,
Andy Hi All,
I'm wondering, if anyone can give me some opinions.
When using JAX-RS Client API, there is no requirement for any providers to be registered by default when you invoke ClientBuilder.newClient() right? e.g. its non-portable, platform specific if a JSON-B, JSON-P provider is registered right?
John
_______________________________________________
jaxrs-dev mailing list
jaxrs-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jaxrs-dev
_______________________________________________ jaxrs-dev mailing list jaxrs-dev@xxxxxxxxxxxTo change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/jaxrs-dev
|