xml-xmlbeans-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cliff Schmidt" <cl...@bea.com>
Subject RE: JAM - JSR 175 under jakarta commons?
Date Mon, 12 Jul 2004 17:27:17 GMT
...and with a BSD license, allowing us to redistribute it from Apache.

Davanum Srinivas wrote on Monday, July 12, 2004 9:36 AM:

> Finally!!!!! Looks like we can use
> http://www.amberarcher.org/projects/panno/ for supporting annotations
> in JDK1.4
> 
> -- dims
> 
> On Fri, 11 Jun 2004 17:03:34 -0700, Patrick Calahan <pcal@bea.com>
> wrote: 
>> Yes, it is certainly doable with JAM under JDK 1.5.  Under JDK 1.4,
>> it is not currently possible because JAM relies on the 1.5 version of
>> javadoc to parse source files.
>> 
>> It would be possible to implement a java source parser that would run
>> under 1.4 but would understand 175.  I did a little bit of work in
>> that direction in JAM but never got a chance to finish it, as it's
>> not really an important use case for xbeans.
>> 
>> -p
>> 
>> 
>> 
>> -----Original Message-----
>> From: Davanum Srinivas [mailto:davanum@gmail.com]
>> Sent: Friday, June 11, 2004 4:52 PM
>> To: xmlbeans-dev@xml.apache.org
>> Cc: dims@apache.org; Cliff Schmidt
>> Subject: Re: JAM - JSR 175 under jakarta commons?
>> 
>> Patrick,
>> 
>> Here's the use case....currently in Axis you can drop in a file with
>> extension .jws (which can by any java class) and we compile the class
>> and make it into a web service. We want to support 175 annotations in
>> these jws files....Is this doable with JAM?
>> 
>> thanks,
>> dims
>> 
>> On Fri, 11 Jun 2004 13:16:03 -0700, Patrick Calahan <pcal@bea.com>
>> wrote:
>>> 
>>> Right, I'm pretty familiar with 181 already.  As Dave Remy
>>> mentioned, 181 is based on 175 annotations, which will not even
>>> compile under 1.4. So, I'm not sure I understand how you are
>>> planning on providing any 181 support under pre-1.5 JDKs. 
>>> 
>>> The only thing I could imagine would be to define a set of javadoc
>>> tags that map to 181's 175 annotations.  This is a problem JAM was
>>> designed to solve for xbeans.   However, in the case of 181, I
>>> would have to wonder if it's really worth the trouble.
>>> 
>>> -p
>>> 
>>> 
>>> 
>>> -----Original Message-----
>>> From: Davanum Srinivas [mailto:davanum@gmail.com]
>>> Sent: Thursday, June 10, 2004 7:45 PM
>>> To: Patrick Calahan
>>> Cc: xmlbeans-dev@xml.apache.org; dims@apache.org; Cliff Schmidt
>>> Subject: Re: JAM - JSR 175 under jakarta commons?
>>> 
>>> Patrick,
>>> 
>>> I have added a blog entry with my question/situation
>>> (http://blogs.cocoondev.org/dims/). Basically We need an attributes
>>> package for implementing JSR 181: Web Services Metadata. The caveat
>>> being we need at least some of the functionality of JSR 181
>>> available on JDK 1.3/1.4 as well. That rules out APT which is only
>>> with JDK 1.5. "spin up a new project" with duplicate functionality
>>> is not new...we have commons-httpclient and commons-collections to
>>> do stuff already in JDK. So dont worry about that.
>>> 
>>> Can you please help us by reviewing JSR 181
>>> (http://jcp.org/aboutJava/communityprocess/edr/jsr181/index.html)
>>> and help us decide if JAM will work for us?
>>> 
>>> Thanks,
>>> dims
>>> 
>>> On Thu, 10 Jun 2004 16:27:18 -0700, Patrick Calahan <pcal@bea.com>
>>> wrote:
>>>> 
>>>> Hi.  Sorry for the delayed response.  So, I think moving JAM to
>>>> Jakarta would be fine with everyone, but what we are trying to
>>>> sort out is how JAM relates to the APT tool which Sun recently
>>>> announced for JDK 1.5: 
>>>> 
>>>>   http://java.sun.com/j2se/1.5.0/docs/guide/apt/index.html
>>>> 
>>>> Have you guys had a chance to look at it?  Do you think it could
>>>> meet your needs instead?  It seems to have at least some overlap
>>>> with JAM, and we just want to make sure that we don't want to go
>>>> off and spin up a new project that doesn't provide any value-add
>>>> over something that is already going to be in the JDK.
>>>> 
>>>> Having read over that document, I do have a few as-yet unanswered
>>>> questions about it: 
>>>> 
>>>> - Does it support both class and source files?
>>>> 
>>>> - Do you have to let them drive?  AFAICT, you have to invoke the
>>>> APT command line tool; there doesn't seem to be an invocation API.
>>>> 
>>>> - Can it be used for general-purpose reflection?  The docs say
>>>> that it can, but it's not clear to me how you do this, given that
>>>> the callbacks are keyed on annotations.  For example, I don't see
>>>> how you would do reflection on a class that has no annotations at
>>>> all. 
>>>> 
>>>> This may be just my failure to understand the tool correctly,
>>>> though. I'm curious to know if you have more insight.
>>>> 
>>>> -p
>>>> 
>>>> 
>>>> 
>>>> 
>>>> -----Original Message-----
>>>> From: Davanum Srinivas [mailto:davanum@gmail.com]
>>>> Sent: Thursday, June 10, 2004 9:10 AM
>>>> To: xmlbeans-dev@xml.apache.org
>>>> Cc: Cliff Schmidt
>>>> Subject: Re: JAM - JSR 175 under jakarta commons?
>>>> 
>>>> Usually silence means assent...looks like everyone agrees to move
>>>> JAM to Jakarta commons :) :) 
>>>> 
>>>> -- dims
>>>> 
>>>> On Wed, 9 Jun 2004 10:58:40 -0400, Davanum Srinivas
>>>> <davanum@gmail.com> wrote:
>>>>> 
>>>>> Patrick, Team,
>>>>> 
>>>>> Looks like the JAM API still inside xmlbeans...Is there a plan to
>>>>> move it to say jakarta commons? we'd like to use JAM to help us
>>>>> with our JSR 181 Implementation.
>>>>> (http://marc.theaimsgroup.com/?l=axis-dev&m=108573692307144&w=2).
>>>>> Specifically to be able to support JDK 1.4/(1.3?) and not just
>>>>> tiger (1.5).  
>>>>> 
>>>>> thanks,
>>>>> dims
>>>>> 
>>>> 
>>>> --
>>>> Davanum Srinivas - http://webservices.apache.org/~dims/
>>>> 
>>>> -
>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail:   xmlbeans-dev-unsubscribe@xml.apache.org
>>>> For additional commands, e-mail: xmlbeans-dev-help@xml.apache.org
>>>> Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/
>>>> 
>>>> 
>>> 
>>> --
>>> Davanum Srinivas - http://webservices.apache.org/~dims/
>>> 
>>> -
>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail:   xmlbeans-dev-unsubscribe@xml.apache.org
>>> For additional commands, e-mail: xmlbeans-dev-help@xml.apache.org
>>> Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/
>>> 
>>> -
>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail:   xmlbeans-dev-unsubscribe@xml.apache.org
>>> For additional commands, e-mail: xmlbeans-dev-help@xml.apache.org
>>> Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/
>>> 
>>> 
>> 
>> --
>> Davanum Srinivas - http://webservices.apache.org/~dims/
>> 
>> -
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:   xmlbeans-dev-unsubscribe@xml.apache.org 
>> For additional commands, e-mail: xmlbeans-dev-help@xml.apache.org
>> Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/
>> 
>> -
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:   xmlbeans-dev-unsubscribe@xml.apache.org 
>> For additional commands, e-mail: xmlbeans-dev-help@xml.apache.org
>> Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/

- ---------------------------------------------------------------------
To unsubscribe, e-mail:   xmlbeans-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-dev-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/


Mime
View raw message