文件名称:
莫斯科javaone大会关于JAX-RS(jersey)的演讲内容
开发工具:
文件大小: 716kb
下载次数: 0
上传时间: 2019-03-24
详细说明:演讲稿
博文链接:https://redhacker.iteye.com/blog/1039685Agenda
The current status of jAX-rs
JAXRS basics in one slide
Selected topics
The future of jaX-rs
Q&A
E Javaone
ORACLE
What this Presentation is not about
The REST style per se
The basics of jaX-rs
Bootstrap slide for those new to JAX-RS
E Javaone
ORACLE
The current status of jARs
The java apl for restful web services
JsR 311. JAX-RS 1.1 released 23rd Nov 2009
Part of Java EE 6; Not part of the Web profile
Specifies integration with technologies
CD|1.0
eJb3.1
Servlet 3.0
Jersey 1.5 implementation shipped with GlassFish 3. 1
7 implementations(Apache CXF, Apache Wink, eXo
Jersey, RESTEasy, Restlet, Triaxrs
E Javaone
ORACLE
JAX-RS Basics in One slide
Path widgets")
Produces("application/xml, application/json
public class Widgets Resource i
aGET
public WidgetsRepresentation getWidgetlisto i
aGET Path( tid ")
public WidgetRespresentation getWidget
PathParam( id" String widgetldt
E Javaone
ORACLE
Selected Topics
Runtime resource resolution
Runtime content negotiation
Conditionalhttprequests
Dealing with type erasure
Pluggable exception handling
E Javaone
ORACLE
DK avi EE
HETHU
rer Ficel
Runtime
JDK JAVB EL
Server Faces
NT和
Resource resolution
-E JDK JavaFe
EE用JBw
BMp s-a M. EB
ava ME
Runtime Resource resolution
Root resources can declare sub-resources that wi
match the unmatched part of the URI path
Root resources implement sub-resource locator
methods
Path foo")
public class Foo i
Path("bar") public Bar getBar(i return new Bar 0; 1
public class bar i
Path( baz")GET public String geto.
E Javaone
ORACLE
Runtime resource resolution
Gethttp:/lexample.com/foo/bar/bazhttp:/1.1
Path foo")
public class Foo i
Path( bar") public Bar getBaro i return new BarO; K
public class Bar
Path( baz )GET public String geto..]
E Javaone
ORACLE
10
(系统自动生成,下载前可以参看下载内容)
下载文件列表
相关说明
- 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
- 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。
- 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
- 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
- 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
- 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.