dev@jsr311.java.net

Re: JSR311: Draft of 1.1 Maintenance Release for review

From: Marc Hadley <Marc.Hadley_at_Sun.COM>
Date: Tue, 27 Jan 2009 15:20:00 -0500

On Jan 27, 2009, at 10:33 AM, Bill Burke wrote:

> Initial Comments:
>
> * EJB Singletons should be a required integration point as well.
> Resources need to be able to hold state sometimes.
>
It that still a requirement with JSR 299 (the spec formally know as
WebBeans) in the picture. Wouldn't that enable this anyway ?

> * I liked your initial idea of the application server providing an
> Application class instance to the JAX-RS provider. Then there's no
> need for java:module and getSingletons() can return references to
> EJBs, getClasses() can return references to Web Beans.
>
The servlet 3.0 framework integration API is rather more general
purpose and only supplies lists of annotated classes or those
implementing a specific interface. I think it gives us what we need
without defining anything JAX-RS specific.

> * @OPTIONS should be added as an http method with a default behavior
> defined.
>
You are the second person to request that, see issue 67:

https://jsr311.dev.java.net/issues/show_bug.cgi?id=67

I recall that we didn't add a @OPTIONS in the first place as we
thought it wouldn't be used much but I can't see any harm in adding it
other than cluttering the API a bit. Anyone opposed to adding it ?
Either way I think we should avoid adding @TRACE or @CONNECT.

Marc.

>
> Marc Hadley wrote:
>> See:
>> https://jsr311.dev.java.net/drafts/changelog.1.1.html
>> We'd like to submit the MR to the JCP at the end of next week
>> (1/23). Once posted, there is a four week review period and during
>> the final week the EC votes and may either approve or defer each
>> line item. Deferred items require a new full JSR to address. We can
>> add/delete/change any item during the first three weeks of the JCP
>> review period but I'd prefer we have consensus before we submit if
>> possible.
>> Thanks,
>> Marc.
>> ---
>> Marc Hadley <marc.hadley at sun.com>
>> CTO Office, Sun Microsystems.
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_jsr311.dev.java.net
>> For additional commands, e-mail: dev-help_at_jsr311.dev.java.net
>
> --
> Bill Burke
> JBoss, a division of Red Hat
> http://bill.burkecentral.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_jsr311.dev.java.net
> For additional commands, e-mail: dev-help_at_jsr311.dev.java.net
>

---
Marc Hadley <marc.hadley at sun.com>
CTO Office, Sun Microsystems.