You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by Ias <ia...@hotmail.com> on 2004/04/19 13:28:08 UTC

Feedback on "Using JAM to Improve Developer Experience with JSR175"

I'd like to share my experiences from exercising "Using JAM to Improve
Developer Experience with JSR175" document located at xmlbeans-
v2/jam/website/typedMetadata.html.

1. Annotation types should de declared "RUNTIME" retention policy.

Otherwise, getAnnotation returns null.

2. JamService.getClasses() returns Iterator.

    // First, we get a JClass from the service that represents the
    // class they specified.  In this particular case, we know
    // there can be exactly one, so just get it.
    JClass clazz = service.getClasses[0];

is no more valid.

3. JClass.getAnnotation(Class proxy) doesn't work.

Instead, JClass.getAnnotation(String jsr175type) works fine.

Thanks,

Ias

=========================================================
Lee, Changshin (Korean name)
Ias (International name)
               Company Web Site: http://www.tmax.co.kr
               Personal Web Site: http://www.iasandcb.pe.kr
---------------------------------------------------------
JSR 201, 204, 222 and 224 Expert Group Member
Apache Web Services Project Member
R&D Center
Tmax Soft, Inc.
=========================================================

- ---------------------------------------------------------------------
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/


Re: Feedback on "Using JAM to Improve Developer Experience with JSR175"

Posted by Scott Ziegler <zi...@bea.com>.
Thanks for the feedback (along with the other mails).  Just FYI, Patrick
(primary JAM person) is away travelling for a few weeks, so the issues
you've pointed out will likely not be addressed until his return.

--Scott

On Mon, 2004-04-19 at 04:28, Ias wrote:
> I'd like to share my experiences from exercising "Using JAM to Improve
> Developer Experience with JSR175" document located at xmlbeans-
> v2/jam/website/typedMetadata.html.
> 
> 1. Annotation types should de declared "RUNTIME" retention policy.
> 
> Otherwise, getAnnotation returns null.
> 
> 2. JamService.getClasses() returns Iterator.
> 
>     // First, we get a JClass from the service that represents the
>     // class they specified.  In this particular case, we know
>     // there can be exactly one, so just get it.
>     JClass clazz = service.getClasses[0];
> 
> is no more valid.
> 
> 3. JClass.getAnnotation(Class proxy) doesn't work.
> 
> Instead, JClass.getAnnotation(String jsr175type) works fine.
> 
> Thanks,
> 
> Ias
> 
> =========================================================
> Lee, Changshin (Korean name)
> Ias (International name)
>                Company Web Site: http://www.tmax.co.kr
>                Personal Web Site: http://www.iasandcb.pe.kr
> ---------------------------------------------------------
> JSR 201, 204, 222 and 224 Expert Group Member
> Apache Web Services Project Member
> R&D Center
> Tmax Soft, Inc.
> =========================================================
> 
> - ---------------------------------------------------------------------
> 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/


Re: Feedback on "Using JAM to Improve Developer Experience with JSR175"

Posted by Scott Ziegler <zi...@bea.com>.
Thanks for the feedback (along with the other mails).  Just FYI, Patrick
(primary JAM person) is away travelling for a few weeks, so the issues
you've pointed out will likely not be addressed until his return.

--Scott

On Mon, 2004-04-19 at 04:28, Ias wrote:
> I'd like to share my experiences from exercising "Using JAM to Improve
> Developer Experience with JSR175" document located at xmlbeans-
> v2/jam/website/typedMetadata.html.
> 
> 1. Annotation types should de declared "RUNTIME" retention policy.
> 
> Otherwise, getAnnotation returns null.
> 
> 2. JamService.getClasses() returns Iterator.
> 
>     // First, we get a JClass from the service that represents the
>     // class they specified.  In this particular case, we know
>     // there can be exactly one, so just get it.
>     JClass clazz = service.getClasses[0];
> 
> is no more valid.
> 
> 3. JClass.getAnnotation(Class proxy) doesn't work.
> 
> Instead, JClass.getAnnotation(String jsr175type) works fine.
> 
> Thanks,
> 
> Ias
> 
> =========================================================
> Lee, Changshin (Korean name)
> Ias (International name)
>                Company Web Site: http://www.tmax.co.kr
>                Personal Web Site: http://www.iasandcb.pe.kr
> ---------------------------------------------------------
> JSR 201, 204, 222 and 224 Expert Group Member
> Apache Web Services Project Member
> R&D Center
> Tmax Soft, Inc.
> =========================================================
> 
> - ---------------------------------------------------------------------
> 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/