users@jersey.java.net

Re: [Jersey] Usage of com.sun.* packages

From: Matthieu Riou <matthieu.riou_at_gmail.com>
Date: Fri, 20 Feb 2009 10:21:02 -0800

On Fri, Feb 20, 2009 at 5:51 AM, Paul Sandoz <Paul.Sandoz_at_sun.com> wrote:

>
> On Feb 20, 2009, at 2:48 PM, Andrew Feller wrote:
>
> Hrmmm just from the spring-annotation sample:
>>
>> com.sun.jersey.samples.springannotations.resources.aop.SecurityAdvice
>> com.sun.jersey.spi.spring.container.servlet.SpringServlet
>>
>>
> Those are Jersey supplied classes. They are not part of the JDK.
>

My bad, can I take the end of the week as an excuse? I just saw the com.sun
and completely skipped the jersey. Apologies for the noise.

Matthieu


>
> Paul.
>
>
>
>>
>> On 2/20/09 3:38 AM, "Paul Sandoz" <Paul.Sandoz_at_Sun.COM> wrote:
>>
>>
>>> On Feb 20, 2009, at 12:39 AM, Matthieu Riou wrote:
>>>
>>> Hi,
>>>>
>>>> I came across a few classes in Jersey's code base that rely on
>>>> others in the com.sun.* packages.
>>>>
>>>
>>> What classes are you referring to? What version?
>>>
>>> I did a quick check and i cannot find any code in the latest source,
>>> 1.0.3-SNAPSHOT, that depends on com.sun.* classes from the JDK.
>>>
>>> IIRC there was a time when the JSR 311 jar had a dependency on some
>>> internal com.sun.* classes of the JDK but we removed that dependency a
>>> while ago.
>>>
>>> Paul.
>>>
>>> I was wondering whether you plan to keep them this way or intended
>>>> to change this eventually. It's not so great for portability
>>>> (thinking of Weblogic among other things)...
>>>>
>>>> Thanks,
>>>> Matthieu
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
>>> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>>>
>>>
>> --
>> Andrew Feller, Analyst
>> LSU University Information Services
>> 200 Frey Computing Services Center
>> Baton Rouge, LA 70803
>> Office: 225.578.3737
>> Fax: 225.578.6400
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
>> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>
>