Hi Michael,
Michael Szalay wrote:
> I would like to mention a problem while using the RuntimeDelegate
> singleton pattern in the javax.ws.rs API classes. The use of this
> singleton from api classes (i.e. MediaType) causes
> severe problems on "singleton-unfriendly containers" like OSGi. Its not
> possible anymore to have more than one implementation or version of
> implementation of jsr311 on an osgi environment because of that.
>
> Whould it be possible to find another solution instead of using that
> singleton?
>
I am an OSGi novice! Some questions:
Do you know why OSGi containers have this problem with singeltons? Can
you point me to any technical information on this?
Do you have any proposed ideas on how to resolve this?
Thanks,
Paul.
> Regards Michael
>
> p.s.:
>
> making a hard-coded fallback on the api classes to the jersey
> implementation is not a nice seperation of api and reference
> implementation ;-)
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>
--
| ? + ? = To question
----------------\
Paul Sandoz
x38109
+33-4-76188109