JBoss releases JBoss AS 6.0 GA

 

Just before the new year, JBoss finalized its JBoss AS 6 application server with a GA release. The release includes enhancements for Java EE 6, improved handing of JSF and upgrades or changes to many of the included libraries like Hibernate and caching.

Previous releases of JBoss AS had a single implementation of JSF pre-bundled. AS 4 bundled MyFaces 1.1 while AS 5 switched to Mojarra 1.2. As a result, developers wishing to use an alternate implementation often had to deal with some configuration headaches and incompatibilities. JBoss AS 6, however, allows developers to specify which JSF implementation to use with a single entry in a configuration file. By default, AS 6 ships with Mojarra 2.0, but a developer who wants to use Mojarra 1.2 instead, for example, can add an entry like this to web.xml:

<context-param>   <param-name>org.jboss.jbossfaces.JSF_CONFIG_NAME</param-name>   <param-value>Mojarra-1.2</param-value></context-param>

This removes the need to bundle alternate implementations in the application WAR itself.

 

Just before release, AS 6 also passed Java EE 6 Web Profile compliance. This means developers looking for a compliant container can use JBoss to develop the new, slimmer type of Java EE application introduced in Java EE 6 that doesn't include the entire, heavyweight Java EE stack. This includes support for Servlet development through annotations and support for asynchronous Servlet processing. Other than JBoss, only GlassFish has yet achieved official EE 6 compliance, but other application servers have included bespoke support for parts of Java EE 6.

JBoss also took the opportunity to swap out their JBoss Cache implementation with Infinispan. Infinispan is an "extremely scalable, highly available data grid platform" that isn't just a cache but also serves as a distributed compute platform.

The version of Hibernate supported by JBoss has been upgraded to 3.6.0, a compliant implementation of JPA 2.0. Improvements in JPA 2.0 include pessimistic locking, the new Criteria API, and other improvements.

Other improvements in JBoss 6 include swapping google-collections for Google Guava and inclusion of RESTEasy, an implementation of JAX-RS for writing RESTful web services.

While documentation for JSF has all been upgraded to AS 6.0, documentation for other components still refer to the 5.0 version of JBoss (as of this writing on January 4). So developers should take extra care to note what version of JBoss the documentation they are reading describes.

Lastly, developers can rest easy knowing that if we really do run out of IPv4 addresses, JBoss now fixed all known issues with IPv6.

转载于:https://www.cnblogs.com/mengheyun/archive/2011/01/05/1962890.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值