Lines 9 & 10 indicate that a GET request with, for example, URI /portfolios/123 should extract the parameter (e.g. Line 4 says that a GET request should return all portfolios. In the above listing, line 1 says to map this resource to the relative path /portfolios. We will look at some of the features that make JAX-RS 2.0 worth the upgrade, but first let's take a quick refresher view of JAX-RS 1.0. Now five years later Java EE 7 has been released and it includes the latest JAX-RS version 2.0, the realization of JSR-339 led by Marek Potociar and Santiago Pericas-Geertsen. When JAX-RS 1.0 was first unveiled back in 2008 by JSR-311 spec leads Marc Hadley and Paul Sandoz, it became one of the first POJO/Annotation based frameworks for creating robust web-based applications.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |