users@jersey.java.net

Re: jdk 1.4 is compatible with jersey 1.4 ?

From: jyoti jadhav <jadhavjyoti23_at_gmail.com>
Date: Tue, 23 Nov 2010 14:24:08 -0800

Hi Jason,

Thanks for the reply.
i would go with jdk1.6 with tomcat. I think this would solve my problem.

thanks,
Jyoti

On Fri, Nov 19, 2010 at 1:52 PM, Jason Erickson <jason_at_jasonerickson.com>wrote:

> There's always vanilla servlets. The problem with JDK 1.4 is that it
> doesn't support annotations, which are required by JSR311. Spring 3.0 has
> some non-JSR311 REST framework. You can take a look at it.
> http://blog.springsource.com/2009/03/08/rest-in-spring-3-mvc/
>
> The description I read relies pretty heavily on annotations as well, but
> Spring usually has a way to do anything you can do with annotations in an
> XML configuration file instead, so it might be worth investigating. In
> general, though JDK 1.4 started its EOL transition period at the end of 2006
> and completed October 30th 2008. (
> http://www.oracle.com/technetwork/java/javase/index-jsp-138567.html)
>
> That doesn't mean that you can't use it anymore, but I wouldn't expect a
> lot of new tools and libraries to focus on supporting it. Plus annotations
> are sooooooo useful, if I were you, I'd spend some energy re-examining your
> constraints. Is it really impossible to move on to a newer JDK?
>
> On Nov 19, 2010, at 1:13 PM, jyoti jadhav wrote:
>
> is threr any other framework or implenetation which i can use to develop
> rest web service in java having jdk1.4 and weblogic 8.1 ?
>
> please provide your guidance ..
>
> thanks,
> Jyoti
>
> On Fri, Nov 19, 2010 at 10:43 AM, jyoti jadhav <jadhavjyoti23_at_gmail.com>wrote:
>
>> hi Pavel,
>>
>> thank you very much for the reply ..
>>
>>
>>
>>
>> On Fri, Nov 19, 2010 at 10:37 AM, Pavel Bucek <pavel.bucek_at_oracle.com>wrote:
>>
>>> I don't think so, maybe some initial proof of concept, but nothing
>>> currently supported.
>>>
>>> JSR311 (JAX-RS) API is based on annotations which were introduced in jdk
>>> 1.5.
>>>
>>> Pavel
>>>
>>>
>>> On 11/19/10 7:33 PM, jyoti jadhav wrote:
>>>
>>> thanks for the reply
>>> is there any other version of Jersey which will work with jdk1.4 ?
>>>
>>> On Thu, Nov 18, 2010 at 9:49 PM, Pavel Bucek <pavel.bucek_at_oracle.com>wrote:
>>>
>>>> Hello,
>>>>
>>>> Jersey 1.4 needs JDK 1.6, so I guess it can't work in your environment..
>>>>
>>>> Regards,
>>>> Pavel
>>>>
>>>>
>>>> On 11/19/10 12:21 AM, jadhavjyoti23_at_gmail.com wrote:
>>>>
>>>>> Hi ,
>>>>> i am new to jersey. i followed the documentation and developed a rest
>>>>> web service with jersey but it gives me 404 error.
>>>>>
>>>>> i think there might be environment issues.
>>>>>
>>>>> i am using following environment.
>>>>> Jersey 1.4
>>>>> Eclipse 3.5
>>>>> Weblogic 8.1
>>>>> jdk 1.4
>>>>>
>>>>> is this the right env. set up ?
>>>>>
>>>>> Thanks,
>>>>> Jyoti Jadhav
>>>>>
>>>>>
>>>>
>>>
>>>
>>
>
>