dev@jsr311.java.net

Re: Container resources

From: Marc Hadley <Marc.Hadley_at_Sun.COM>
Date: Fri, 13 Apr 2007 12:34:09 -0400

Missed a couple of annotations in the example.

>
> An application class could then be written like:
>
> @UriTemplate("/feeds/{feedid}")
> public class MyAtomFeed extends AtomFeed {
>
@HttpMethod
> public Feed getFeed() {...}
>
@HttpMethod
> public Entry postEntry(Entry entry) {...}
> }
>

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