atom feed11 messages in net.java.dev.glassfish.adminRe: Pathnames for V3
FromSent OnAttachments
Lloyd ChambersMar 24, 2009 1:58 pm 
Kedar MhaswadeMar 24, 2009 2:17 pm 
Lloyd ChambersMar 24, 2009 2:39 pm 
Kedar MhaswadeMar 24, 2009 3:21 pm 
Lloyd ChambersMar 24, 2009 3:29 pm 
Tim QuinnMar 24, 2009 3:32 pm 
Lloyd ChambersMar 24, 2009 3:47 pm 
Tim QuinnMar 24, 2009 4:07 pm 
Lloyd ChambersMar 24, 2009 4:11 pm 
Sreenivas MunnangiMar 24, 2009 10:58 pm 
Lloyd ChambersMar 26, 2009 11:02 am 
Subject:Re: Pathnames for V3
From:Sreenivas Munnangi (Sree@Sun.COM)
Date:Mar 24, 2009 10:58:28 pm
List:net.java.dev.glassfish.admin

Lloyd Chambers wrote:

Pathnames proposal for V3, intended for use in URLs and admin CLI is now a separate doc:

https://glassfish.dev.java.net/nonav/v3/admin/planning/V3Changes/V3_Pathnames.html

JSR311 which deals with REST spec. has similar mechanism for providing templatized values as below.

Specifically section 3.4 on URI Templates, few examples below. https://jsr311.dev.java.net/nonav/releases/1.0/spec/index.html

1 @Path("widgets/{id}") 2 public class Widget { 3 ... 4 }

In the above example the Widget resource class is identified by the relative URI path widgets/xxx where xxx is the value of the id parameter.

some more from REST samples:

/items/{itemid} /items/{itemid}/tracks/{num} /containers/{container}/{item}