|
|
|
|
| 这周的网上研讨会时间是周四,也就是 1 月 15 日 11:00 am PT。Marc Handley 和 Paul Sandoz 将介绍 JAX-RS、Java API for RESTful Web Services 和 Jersey、它的企业级质量、引用实现以及一些示例。Arun Gupta 和 Craig McClanahan 可能也要出席。 幻灯片和其他材料将上传到 Presentation Page - 如果演讲之前您有任何问题,请将它们添加为注释,或者直接在演讲期间去提问。 |
| Jersey 1.0.1 现在已发布,其中进行了许多更改和改进,包括改进的 Spring 集成、新的 MIME 多部件 API、Maven 原型、样例和 IoC SPI(参见 Paul 的概述)。安装它最简便的方法来自于更新中心:GFv3 UC 和 GFv2 UC。 Jersey 团队已经在开发下一版本 1.0.2(参见 Roadmap),而且与 EJB 3.1 EG 合作有关与 EJB 3.1 的集成的开发。 |
Arun 最近也发表了有关 Jersey 的两篇新帖子:Jersey 和嵌入式 GlassFish 和 Jersey 的客户端 API。您可能也想参加 1 月 15 日举办的有关该领域的网上研讨会 – 参见 GlassFish.TV 计划表。
今日消息:
| Jakub 发布了新的有关 Jersey 的企业级技巧,介绍如何使用 Jersey 1.0 配置 REST 风格的 Web 服务的 JSON。Jersey 拥有产品品质、是 JAX-RS 的引用实现、REST 风格的 Web 服务的 JCP 标准。JAX-RS 是 Java EE 6 的一部分,但它也可以单独使用。Jersey 是 GFv3 Prelude 的一部分。 有关 JSF - 首先,NetBeans 团队介绍了如何使用新的 NetBeans 版本(包括即将发布的 NB 6.5)开始开发 JSF 应用程序。然后,Arun 介绍了如何在 GlassFish v3 Prelude 上使用利用 Gmaps4JSF 的 JSF 和 Google 地图、Facelets 和 Mojarra。 Comet 与 Atmosphere - JFA 最近在 Silicon Valley JUG 对 Atmosphere - 他的新的便携 Comet 框架 – 进行了介绍。现在即可提供图片资料。 GlassFish ESB 已非常接近其第一个发行试验版(及 GA/FCS 版)(Milestone 2 下载),但是我刚发现,我还没有注意到 Mike 的博客中有关 GlassFish ESB 截屏视频。请查看,并且注意,它包含多个部分 – 做得非常棒。 我们在等待 GF ESB v2 的同时,就已经准备好使用下一代(基于 Fuji项目)了。Fuji Milestone 2 是上周发布的,这里是随附的两篇博文:Nikki 的Interceptors in Fuji 和 Derek 的 Proxy bundle。 Andy B 正在调整他在 Sun 公司的时间安排,以便可以留出更多精力来打理 Arista Networks,这是“他的新公司之一”,致力于 10 GB 以太网交换业务。原创的 NYTimes 文章,接着是一篇澄清事实的文章。 今天的资讯包括 iPhone 版的 Google Earth 和 Oprah 支持 Kindle。这两者当中,我认为 Oprah 的支持产生的影响最大 – 难道电子阅读器的时代最终还是到来了吗? |
NB. 我在消息报道上已经晚了几天,我会试着在接下来的一天或两天内赶上报道进度的。
今日消息:
|
为了庆祝 Jersey 最新发布的 Jersey 1.0 Release Paul 撰文谈了一系列对 Jersey 样例(浏览)的新观点,其中包括 Sparklines 的实现(作为 Tufte 的拥护者... 十分感谢!)。SD Times 中引用了 Marc 关于 JAX-RS 和 SOAP 的观点;将重点放在他的言论上,而忽略标题“Sun moving away from SOAP”。我们支持 SOAP 和 REST。 Servlet 3.0 即将发布 Public Draft 版本(包括 JavaEE 6 的其余部分),Deepa 在 Java.Net 发布了 Intro to Servlet 3.0.某些细节也适用于旧的 Draft 版,因此请确保查看 Rajiv 的注释。 性能始终是一个热门主题,因此请查看来自我们的专家之一,Binu John 在 Profiling GFv2 with Sun Studio 中的说明。 Rich 有关 EDC 的注释有关 AppServer 分级的报告启动了相当活跃的 TSS 线程。在我的博文 Comment at Savio's blog 中提到,报告实际上是“用户满意度调查”,如果没有详细的数据,是很难说明问题的。另外,如果下载报告,请考虑是否同意执行调查,并将您的音频添加到他们的样例集中。 现在,对于该主题,世界上大部分人关注的是:Futbol, Bar�0�4a 已宣布他们会在 Miami 开办一个俱乐部。请查看 Marca、NYTimes 或 Straight from the Source。 |
今日消息:
|
为庆祝Jersey 1。0的发表 Jersey 1.0 Release: Paul 写了关于JERSEY的一系列应用 Jersey Samples (browse) 其中包括 Sparklines 的设计和实现(and, as a Tufte fan... thanks!). Marc 在 SD Times 发表了关于 JAX-RS and SOAP; 请读他具体说的话, 而不要去在意标题 "Sun moving away from SOAP"; 我们是支持both SOAP and REST. Servlet 3.0 的设计版就要发表了 (with the rest of JavaEE 6), Deepa 发布了 Intro to Servlet 3.0 at Java.Net. 一些设计跟旧版是适用的, 请参考Rajiv's 的建议. Performance 总是最热门的题目, 请参考我们performance 专家, Binu John的这篇文章 Profiling GFv2 with Sun Studio. Rich's Comment on an EDC Report on AppServer Rankings started a fairly active TSS thread. 在我这篇博文中 Comment at Savio's blog, 写到了关于 "User Satisfaction Survey", 如果没有数据的话,很难说出什么t. BTW, if you download the report, consider agreeing to taking the survey and add your voice to their sample set. 现在来看看世界上关心的 Futbol, Barça 宣布了在Miami开办一个CLUB. Check Marca, NYTimes or, Straight from the Source. |
|
JAX-RS规范和Jersey项目的负责人Paul Sandoz 宣布Jersey 1.0正式发布。 v1.0总是带有特别的意义,Jersay的1.0版本也是基于开发人员的艰苦努力和社区的大量反馈而获得的。祝贺Paul 和整个Jersay社区! |
Jersey 1.0 是 JAX-RS 1.0 的实现,但是加上了Spring的集成、REST客户端并拥有产品品质...
许多社区相关的项目中可以得到它的安装文件:比如通过GlassFish v2和v3, NetBeans 6.5, Maven 2, zip等等...
伴随着Jersey 1.0 的发布,你可以自由选择你的Web Services风格并且同时保持和标准兼容。将在2009年中发布的Java EE 6将通过一个maintenance版本使得这一特点更加清晰。
请看更多Jersey
的相关信息。
|
JAX-RS是RESTful Web Services的Java API,已经蓄势待发了,而Executive Committee for the SE/EE发布了JSR-311的最终规约。投票的结果是15-1-0 (同意- 弃权-反对)(点击查看结果result). 而最终的步骤是完成RI和TCK,相关信息请看:Jersey |
|
Carol 之前(7月份)曾经发表了一个例程展示了如何使用Comet技术放映幻灯片;现在她和Rick改进并扩展了这个例子,新的例程包括了更详细的介绍,截图,如何使用NetBeans 进行开发,使用MySQL 和JPA来做数据持久化处理,Grizzly 作为Comet支持, Jersey (JAX-RS) 作为REST end-points,使用 GlassFish Server 作为应用服务器。 |
非常实用的例子,请来仔细地阅读这篇文章 RESTful Web Services 和Comet。相关技术请查看 Comet
, Jersey
和 Grizzly
。
这个例子完全由开源的技术开发,你不觉得很酷吗?你甚至可以为此买商业支持。 开源的GlassFish已经为接受市场的挑战做好了准备!
|
Jersey 0.9 is Out! 很快就要发布了。 它的设计使用的是 0.9 version of the spec (Docs, Spec); 这个 release 包括了Maven packages http://download.java.net/maven/2/com/sun/jersey/. JAX-RS (aka JSR 311) 在 transparency 方面很成功,我想这也反应出产品的高质量. 点击 Jersey |
|
JAX-RS (REST Support for the Java Platform - aka JSR-311) 成为第一个 JavaEE 6 specification that Reached Proposed Final Draft stage - 下载 PFD Specification 并请提意见。. 接下来是TCK 和 RI (see JCP Process). Jersey is both a Reference Implementation and Production Quality 会不断有进展, Integration with Spring. |
More relevant entries are tagged under Jersey
更多相关的内容请参见Jersey |
| JAX-RS (RESTful Web Services) is getting closer to its 1.0 release (scheduled for September). The proposed final draft is available. JAX-RS sounds like the first Java EE 6 piece to hit a final version. |
In the meantime, Jersey, its reference implementation is already used in quite a few places. Both in real-life production scenarios at customer sites such as the BBC, but also and open source software such as EHCache server (hum, a caching software with a RESTful interface, sounds really nice).
In a welcome (but somewhat painful) process of moving from ANT to Maven, the Jersey team modularized its development tree. This now results in six modules and two contributions sub-modules.
| Greg Luck, EHCache maintainer and GlassFish community member has been busy in the recent weeks. First, he released EHCache 1.5.0 and soon after came EHCache debugger, but also EHCache Server with a SOAP interface built using Metro (as the WSDL shows). |
Greg discusses the rationale behind the SOAP choice on his blog and explains that the server is available as a war archive that can be either deployed in a Java Application Server or simply started using its embedded GlassFish v3 engine. In addition to the SOAP interface, Greg is also working on a RESTful implementation of the EHCache server, this time with Jersey (JAX-RS's reference implementation in the works) under the hood.
EHCache is a popular distributed cache used by many frameworks and applications. Previous EHCache entries on this blog are here.
If you are using or planning to use GlassFish v3 (with or without the embedded mode), feel free to comment here or send us email, we'll happily mention it here.
|
Carol McDonald 曾详细地讨论过如何用GlassFish, Spring, EJB 3, Groovy, Grails, JPA, Comet,等, 来开发各种应用程序。这一次,她解释了建立一个可与启用 JPA 的静态网络服务通讯 的Dojo动态表 (Dojo Grid) 的步骤。 |
Carol 还讨论到使用工具包以外的话题: 创建基于与 JAX-RS (Jersey)后端服务JSON数据互动的网格数据模型。JSON数据取自使用JPA的数据库。
这里提供全部源代码。
|
MuleSource 发布了一个RESTpack 针对集成 RESTful (duh!) 服务通过Mule ESB... 并且他们包括 Jersey. 查看RESTpack 声明. |
并且,在一个相关的声明中, Marc 提到关于JAX-RS的 三个实现 ,这是在该阶段规格最好的采用,当然我们更喜欢Jersey是最好的 :-)