Get GlassFish V2 Sun Support for GlassFish - Get GlassFish Portfolio
« GlassFish v3 Mercuri... | Main | Check out NetBeans.T... »
Aug 07
31
Building a URI - Finally Getting Easier!
  Posted by pelegri in Web.Next

W3C Logo

URIs are at the core of the Web but building them is surprisingly hard to do in the Java platform and it is very good that the JSR 311 folks are tackling the issue.

The proposed APIs can safely build a new URI from a base one:

UriBuilder.fromUri(baseUri). path("a:b;param=matrix/hello world").build();

and easily create a URI Template:

UriBuilder.fromUri(baseUri). path("a:{p1}"). matrixParam("param", "{p2}"). path("hello {p3}").build("b", "matrix", "world");

Check out Paul's report where he gives more details and provides links to the latest Build from Jersey.

Comments:

Post a Comment:

Comments are closed for this entry.

Languages

Event Calendar

Search

The Aquarium TV

Adoption Stories

GlassFish Podcast

Popular Tags

adoption ajax clustering comet community frontpage glassfish grizzly hudson java javaee javaee6 javaone jax-rs jax-ws jaxb jboss jcp jersey jmaki jruby jsf metro mysql netbeans notd opends openesb openmq opensolaris opensource opensso osgi performance portal rails rest ruby sailfin scripting sip stories sun tools updatecenter v2 v3 webinar webservices weekly

Downloads

Companion Sites

Related Links

Useful Pointers

Offers and Promos

... AT TWITTER

OTHER SHORT NEWS

Recent Entries

News by Mail

Contact Us

Send feedback and leads to theaquarium@sun.com

QR Codes


Navigation