======================================================================================== Release Notes - WebSphere Application Server Feature Pack for Web 2.0 v1.0.1 ======================================================================================== ================================ ACCESSING PRODUCT DOCUMENTATION ================================ In addition to the documentation provided with the Web 2.0 Feature Pack, other documentation can be found at these locations: * IBM Information Center : http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.web20fep.multiplatform.doc/info/ae/ae/welc_newinreleaseweb20fp.html * Dojo Campus Docs : http://docs.dojocampus.org/ * Dojo Campus : http://www.dojocampus.org * IBM Red Book "Building Dynamic Ajax Applications Using WebSphere Feature Pack for Web 2.0" : http://www.redbooks.ibm.com/abstracts/sg247635.html * IBM Blog : http://www.ibm.com/developerworks/blogs/page/webtwooh ================================ WHAT'S NEW ================================ JAX-RS The Feature Pack for Web 2.0 Version 1.0.1 provides a Java API for developing Representational State Transfer (REST)-based services. JAX-RS provides an implementation of the JAX-RS specification. IBM JAX-RS is an extension of the base Apache Wink 1.0 runtime environment that is included with the Feature Pack for Web 2.0. By using JAX-RS technology, REST applications are easier to develop, easier to consume, and easier to scale when compared to other types of distributed systems. IBM JAX-RS includes the following features: * JAX-RS 1.0 server runtime * Standalone client API with the option to use Apache HttpClient 4.0 as the underlying client * Built-in support for JSON4J * JAXB models for Atom, APP and RSS in addition to Apache Abdera support * Multipart content support * Custom message body serialization and deserialization support via custom JAX-RS entity providers * Content negotiation based on the JAX-RS specification to decide if XML, JSON, Atom, or any other content type should be sent to a client * A handler system to integrate user handlers into the processing of requests Feed libraries * IBM JAX-RS (which is based on Apache Wink 1.0) has in built support for producing and consuming Atom, APP and RSS documents. The models for Atom, APP and RSS in Apache Wink are based on JAX-RS and JAXB, and hence are more standardized than in Apache Abdera. * Also in contrast to the read-only support for RSS in Abdera, Apache Wink has both read and write support for RSS. * Hence a strategic decision has been taken to deprecate the usage of Abdera libraries for Feeds support in Web 2.0 Feature Pack, and you are recommended to use/migrate to IBM JAX-RS (Apache Wink) for all your Feeds requirements. RPCAdapter * Highlights: o Support for Role based access to the exposed POJOs and EJBs o Extension of support for overloaded methods and also the 'aliasing' of EJB modules. AjaxProxy * Highlights: o The Ajax proxy's IP Filtering allows you to white-list or blacklist IP addresses in order to protect services the Ajax proxy may connect too. The blacklist contains service IP addresses that clients are not allowed to connect too while the white-list contains IP addresses of services that the Ajax proxy can connect too. The Dojo Toolkit, version 1.4.1 * Highlights: o Over 800 bugs fixed since the Dojo Toolkit, version 1.3 o Extensive performance improvements in class declaration (dojo.declare rewritten to improve its performance by 30%-70% depending on the browser.) o Firefox 2.0 support was dropped, since Firefox 2 has been out of service by the Mozilla Foundation for almost two years. o Microsoft Internet Explorer 8 support. o Google Chrome 3 support o Safari 4.0+ support. * o dijit.Editor substantially updated. Many bugs fixed, many new features. + New Feature: Full Screen (dijit plugin) + New Feature: View Source (dijit plugin) + New Feature: Print (dijit plugin) + New Feature: Save (dijit plugin) + New Feature: PrettyPrint (Clean HTML formatting) (dojox plugin) + New Feature: View Block Nodes (Dynamic toggle of CSS styling to identify formatting elements) (dojox plugin) + New Feature: Preview (Display Editor content in a new browser window with alternate styles applied.) (dojox plugin) + New Feature: Save (Extensible plugin for implementing toolbar button-click save.) (dojox plugin) + Experimental Features: # New Feature: Normalize Indent and Outdent (Experimental, but well-functioning, plugin for commonizing how browsers indent and outdent lists, text, and other elements.) (dojox plugin) # New Feature: Find/Replace (Experimental plugin implementing a find and replace toolbar for Editor. Relies on native browser find support.) (dojox plugin) # New Feature: Breadcrumb (Experimental plugin that inserts a breadcrumb toolbar into the editor as a footer toolbar) (dojox plugin) * o New Dojox Enhanced DataGrid widget (introduced in The Dojo Toolkit 1.4), alongside the current DataGrid. + Simplified both programmatic and declarative instantiation. + Improved layout and behavior consistency on all the supported browsers + Improved accessibility support. + Checkbox row support. + Drag and Drop columns. + Note: The older grid (dojox.grid.Grid) has been compressed in the dojo tree as: dojox/grid/compatGrid.tar.gz To use it, simply uncompress the archive in that directory. Please note that the Dojo Community will not provide support for the old compat grid, so fixes to it in this feature pack will take considerable time. + Note: Transitioning to the new grid will require updates to your application. See the dojox.Grid references in: http://www.dojotoolkit.org/book/dojo-1-2-release-notes and http://www.dojotoolkit.org/book/dojo-1-3-release-notes for more details. * Improved community documentation: o Community examples and tutorials: http://www.dojocampus.org/ o Documentation with inline examples: http://docs.dojocampus.org/ o API documentation: http://api.dojotoolkit.org/jsdoc/dojo * Full Community Release notes: o 1.1 to 1.2 release notes: http://www.dojotoolkit.org/book/dojo-1-2-release-notes o 1.2 to 1.3 release notes: http://www.dojotoolkit.org/book/1-3-release-notes o 1.3 to 1.4 release notes: http://docs.dojocampus.org/releasenotes/1.4 Samples: * All samples upgraded to use the Dojo Toolkit 1.4.1 * Update to 'HelloWorld' RPCAdapter to demonstrate additional features. Developer's Guide: * Updated examples to Dojo 1.4. Web Messaging Service * A new JSON transport is now the default Bayeux communication transport in Dojo 1.3. If you are upgrading from Dojo 1.2 or earlier to Dojo 1.4 you might encounter a problem if you do not have the appropriate Web messaging service APAR applied. APAR PK81108 allows the Web messaging service to work with the new JSON transport. PK81108 is included in Websphere Application Server fixpack 7.0.0.5, 6.0.2.35, or 6.1.0.25. o The following errors occur when using the Bayeux JSON transport and a WebSphere Application Server installation without PK81108 or appropriate service pack installed: + Bayeux handshake response returned from server: [ {"error":"400::The request could not be recognized by the server.","successful":false,"channel":"\/meta \/handshake"}] + In server's error logs: "CWPSB1314W: Bayeux error 400 occurred when processing a Bayeux request for channel with arguments in Web messaging definition quotestreamer.war_WebMsgServlet" o A workaround for this problem is available. You must change the following statement in your Dojo client code: dojo.require("dojox.cometd"); to dojo.require("dojox.cometd.longPollTransportFormEncoded");