Return-Path: Delivered-To: apmail-xml-xmlbeans-dev-archive@www.apache.org Received: (qmail 45384 invoked from network); 12 Jul 2004 16:36:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 12 Jul 2004 16:36:13 -0000 Received: (qmail 58203 invoked by uid 500); 12 Jul 2004 16:36:12 -0000 Delivered-To: apmail-xml-xmlbeans-dev-archive@xml.apache.org Received: (qmail 58160 invoked by uid 500); 12 Jul 2004 16:36:11 -0000 Mailing-List: contact xmlbeans-dev-help@xml.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: xmlbeans-dev@xml.apache.org Delivered-To: mailing list xmlbeans-dev@xml.apache.org Received: (qmail 58038 invoked by uid 99); 12 Jul 2004 16:36:10 -0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=RCVD_BY_IP,SB_NEW_BULK,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Message-ID: <19e0530f04071209368aa7dc@mail.gmail.com> Date: Mon, 12 Jul 2004 12:36:07 -0400 From: Davanum Srinivas Reply-To: dims@apache.org To: xmlbeans-dev@xml.apache.org Subject: Re: JAM - JSR 175 under jakarta commons? Cc: dims@apache.org, Cliff Schmidt In-Reply-To: <82447314F99FB04EB45A98AF96FD7F1705D67219@ussfex01.bea.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <82447314F99FB04EB45A98AF96FD7F1705D67219@ussfex01.bea.com> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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 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 > 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 > > 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 > > > > > 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/ > > -- 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/