Annoucements | Granite Data Services

Cocomonio


Archive for Annoucements:

Granite Data Services 3.0.0.M1 is out

By William November 26th, 2012 Annoucements, GraniteDS No Comments
Please, feature an image for this post.

Granite Data Services 3.0.0.M1 is out and available for download . Maven artifacts are also available through Maven2 central repositories .

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 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 . 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 or Java/JavaFX 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 :

  • Flex:
  • Java/JavaFX:

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 .

Granite Data Services 2.3.2 GA Released

By Franck May 24th, 2012 Annoucements, GraniteDS No Comments
Please, feature an image for this post.

Granite Data Services 2.3.2 GA is out and available for download . Maven artifacts are also available through Maven2 central repositories .

This new release comes with several bugfixes and improvements (see the complete changelog on Jira ). Here are some highlights of the most interesting new features in GraniteDS 2.3.2 GA:

  • Hibernate 4.1, JBoss 7 and Jetty 7 support.
  • The Eclipse builder, whenever you remove or rename a Java class which is in the scope of the generator, will rename (no deletion!) corresponding AS3 classes, appending the following suffix “<current_system_millis>.hid�? to them. You will then get useful Flex compilation errors if your project is referencing these deleted classes.
  • Bean validation is now working with DTOs and not only with JPA entities.

You can update Gas3 (together with the Wizard) through our Eclipse .

Maven archetypes updated to GraniteDS 2.3.0, Flex 4.5 and Flexmojos 4

By William November 21st, 2011 Annoucements, Flex, GraniteDS No Comments
Please, feature an image for this post.

Following the release of GraniteDS 2.3.0.GA, we have updated the Maven archetypes, now in version 1.1.0.GA.

Here are the changes :

  • Upgrade to GDS 2.3.0.GA
  • Upgrade to Flexmojos 4.0-RC2
  • Upgrade to Flex SDK 4.5.1
  • Fixed some issues in POMs when used in Eclipse with the m2e plugin
  • Fixed Tide/Seam archetype

As a reminder, here is how you can use the archetype to build a simple project with Flex/GraniteDS/Spring and Hibernate :

mvn archetype:generate 
  -DarchetypeGroupId=org.graniteds.archetypes 
  -DarchetypeArtifactId=graniteds-tide-spring-jpa-hibernate 
  -DarchetypeVersion=1.1.0.GA 
  -DgroupId=com.myapp 
  -DartifactId=example
  -Dversion=1.0-SNAPSHOT

There are still 4 existing archetypes, all of which are now based on Flex 4.5 and Spark components :

  • graniteds-spring-jpa-hibernate: Spring 3 + JPA/Hibernate + GraniteDS with RemoteObject API
  • graniteds-tide-spring-jpa-hibernate: Spring 3 + JPA/Hibernate + GraniteDS with Tide API
  • graniteds-tide-seam-jpa-hibernate: Seam 2.2 + JPA/Hibernate + GraniteDS with Tide API
  • graniteds-tide-cdi-jpa: CDI/Weld 1.1 + JPA + GraniteDS with Tide API

Once the project is created, you can build it easily with

mvn install

And then run it in Jetty (Spring or Seam) with :

cd webapp
mvn jetty:run-war

Or in the Embedded GlassFish 3.1.1 (CDI) with :

cd webapp
mvn embedded-glassfish:run

Once started you can access the default generated application at . By default there are two users created that can access the application : admin / admin and user / user.

You can then easily build a war with :

mvn war:war

Note that in this case you may have to change the configuration if your application server target is not the same as the embedded maven plugin. For example, if you target Tomcat, you will have to adapt the Gravity servlet in web.xml accordingly. Also note that the default configuration uses an embedded H2 database and locally defined security.

Announcing Granite Data Services 2.3.0 GA (final)!

By Franck November 9th, 2011 Annoucements, GraniteDS No Comments
Please, feature an image for this post.

Hi all,

Granite Data Services 2.3.0 GA (final) is out and available for download here: . Maven artifacts have been uploaded and should be shortly available as well.

This final release comes with fixes for the few issues that were discovered in the recent 2.3.0 RC1. The full change log can be found on .

Among many other things, GraniteDS 2.3.0 brings:

  • Client-side lazy-loading.
  • Clustering improvements.
  • JMS integration fixes.
  • Hibernate 4 / JBoss 7 / Flex 4.5 support.

See also this post about these new features / improvements: More details on the new features in GraniteDS 2.3.

Announcing Granite Data Services 2.3.0 RC1!

By admin October 11th, 2011 Annoucements, GraniteDS No Comments
Please, feature an image for this post.

Hi all,

Granite Data Services 2.3.0 Release Candidate 1 is out and available for download here: .

Many (59!) bugfixes, improvements and new features are coming with this new release and the full change log can be found on GraniteDS’ Jira: .

Among many other things, GraniteDS 2.3.0 brings:

  • Client-side lazy-loading.
  • Clustering improvements.
  • JMS integration fixes.
  • Hibernate 4 / JBoss 7 / Flex 4.5 support.

Maven artifacts are coming as well. In the next few days, we will be discussing many of the  new features and improvements in more detail. So stay tuned!