Granite Data Services 3.0.0.M1 is out
November 26th, 2012
Granite Data Services 3.0.0.M1 is out and available for download here.
Maven artifacts are also available through Maven2 central repositories here.
This release is the first milestone for GraniteDS 3.0 and comes with several bug fixes, improvements, and new features (see the complete changelog on JIRA here).
Here are some highlights of the most interesting new features in GraniteDS 3.0.0.M1 :
- Apache Flex(R) 4.8.0 compatibility (see here)
- New messaging transport based on websockets on application servers supporting websockets : Tomcat 7.0.29+, Jetty 8.1+, GlassFish 3.1.2+.
- Improved implementation of the Java client libraries (new remoting API, support for long polling and websocket messaging
- Initial implementation of client libraries for JavaFX 2.2 : data management, client integration with Spring
- Full support for Spring Data JPA, ability to generate AS3 / JavaFX beans for AbstractPersistable, and service proxies for Repositories.
Note : the Flex websocket implementation is a modified version of the work of gimite available on github here. It will be packaged in a separate archive in the next 3.0 M2 release.
You can have a look at the reference documentation for Flex here or Java/JavaFX here to get more details on the configuration for using websockets. It is very similar to the usual Gravity long polling setup and simply involves declaring a WebSocketChannel and a corresponding WebSocket servlet.
The packaging of the distribution has been completely changed. You will now get a cleaner (and smaller) archive containing 5 folders:
- libraries: server jars, Flex and Java client libraries and dependencies
- tools: libraries for Gas3 and Gfx Ant tasks (generators of AS3 and JavaFX beans)
- docs: JavaDoc and ASDoc API documentation for Flex and Java/JavaFX, and reference guides for Flex and JavaFX
- sources: source jars suitable for attachment in Eclipse
- samples: zip of sample projects that can be directly imported in Eclipse
Notes on upgrading from 2.x to 3.0 :
- You must now use the 3.0 xsd for Seam and Spring XML configurations : http://www.graniteds.org/config http://www.graniteds.org/public/dtd/3.0.0/granite-config-3.0.xsd
- The flex-filter element must be replaced by server-filter
- When using Servlet 3 annotation configuration, @FlexFilter must be replaced by @ServerFilter
You can find the reference documentation here :
To get started with the new support of JavaFX 2.2, you can follow the new tutorials :
The latest Maven archetypes 2.0.0.M1 have also been upgraded to GraniteDS 3.0.0.M1 and a new JavaFX/Spring archetype has been added.
You can note that the source projects are not (and won’t be) in the distribution any more. You can still clone them directly from github:
- Core Framework: git://github.com/graniteds/graniteds.git
- Java Client: git://github.com/graniteds/graniteds_java_client.git
- Eclipse plugin: git://github.com/graniteds/graniteds_builder.git
The core project still includes the old examples (in the examples folder) that have not yet been ported to the new format.
Starting from GDS 3.0, support for JDK 1.4 is dropped. If you’re stuck on JDK 1.4, you can still use the JDK 1.4 build of GraniteDS 2.3.2.GA.
The Eclipse tooling of GDS 3.0 (Gas3 builder and wizard) can be updated from our Eclipse Development Update Site.