Dashboard > Documentation - 0.4 > Documentation - 0.4

View Info

Documentation - 0.4


This documentation is outdated! See current documentation here.



Release Notes (Granite Data Services 0.4)

New
  • (GDS-29) Jetty6+ SecurityService: a Jetty6+ security service is now available. You may use this feature in any Jetty6 servlet container based application server (Jetty standalone, JBoss+Jetty, etc.)
  • (GDS-30) Flex 3 beta1: Granite Data Services 0.4.0 is fully compatible with Flex 3 beta1 (compiler + ant tasks).
  • (GDS-31) Licensing: License has changed from LGPL 2.1 to LGPL 3 and copyright is owned by Adequate Systems SARL. For the end user, this means more flexibility (LGPL 3 is a little more permissive than LGPL 2.1) and more confidence (Granite Data Services is not an isolated geek project).
  • (GDS-34) Dump AMF3 to file: DumpFilter has now an option in order to save AMF3 binary data (request/response) to files (only useful for advanced debugging or unit tests).
  • (GDS-35) Gas3 for Pojo: Gas3 now generates suitable code for all externalized java beans (not only EJB3).
Bug fixes
  • (GDS-28) Granite Deserialization Error of @Embedded primary keys of Proxy Multireferenced Entities (fixed).
  • (GDS-33) Arrays of bytes are not added to stored objects at deserialization time (fixed).
  • (GDS-36) Debugging info for byte arrays may cause ClassClassException (fixed).
  • (GDS-37) Non-serializable attribute exception when using clustered sessions is fixed (but needs further improvements).
  • (GDS-38) Support for AS3 Number to java.math.BigDecimal and java.math.BigInteger deserialization.

Other small improvements are not listed here.

Release Notes (Granite Data Services 0.3)

Important Migration Tip (0.2 to 0.3)

You must put a DOCTYPE declaration in your granite-config.xml files:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE granite-config PUBLIC "-//Granite Data Services//DTD granite-config internal//EN"
    "http://www.graniteds.org/public/dtd/0.3.0/granite-config.dtd">
<granite-config>
    ...
</granite-config>

Note that order of declarations now matters (see Granite Config DTD) but, since this dtd is online, it can be used by XML editors with code completion features.

New
  • SecurityService: this feature adds support for setCredentials, setRemoteCredentials and logout methods of RemoteObject. There is only a Tomcat based implementation at this time (JBoss+Tomcat is working).
  • New Gas3 Implementation: the new ActionScript3 code generator brings support for @Embeddable objects (both for @Embedded and @EmbeddedId references), @IdClass entities with multiple @Id primary keys, and interfaces (only getters/setters are generated). There is also a new classpath node and a new java2as3class attribute (Ant usage) that helps you adding custom types support.
  • Improved Externalizer Performances: the overall performances of externalizer have been significantly improved.
  • Pluggable Converter: you can now plugin a custom converter to add support for custom types (such as Joda time).
  • Logging Infos: GDS 0.3.0 adds many debugging infos that weren't available in 0.2.0 release (configurable via log4j.xml).
  • Pojo Eclipse Demo Project works with Tomcat: there is actually a "dual build" option (Tomcat or JBoss, Tomcat is the default).
  • Flex 2.0.1 SDK hotfix1, 2 and 3 support: those new versions of the free SDK are fully supported (Flex 3 betas not tested).
  • JBoss 4.2.+ support: those new versions of JBoss are fully supported (EJB3 demo).
  • Others: many others improvements such as ServiceInvocationListener support, DTD for granite-config.xml, annotedwith attribute for externalizer configuration, code redundancy elimination, etc.
Bug fixes
  • (GDS-10 and 13) ErrorMessage now contains the proper correlationId (errors are handled properly on Flex side).
  • (GDS-12) Issues with the previous MethodMatcher has been resolved (in general and in particular with arrays to lists conversions).
  • (GDS-17) Removed "double-check locking" synchronization in many places.
  • (GDS-19) HibernatePersistentSet now implements IHibernatePersistentCollection (isInitialized() method is implemented).
  • (GDS-20) ByteArray deserialization is fully working.
  • (GDS-21) HibernateExternalizer's readExternal method handles correctly HibernateProxy instances.
  • (GDS-22) "source" attribute for Pojo services is now trimed.
  • (GDS-27) Simple ArrayCollections are no longer deserialized to UIDSets on Flex side.
  • Many other not listed.


Release Notes (Granite Data Services 0.2)

New
  • Spring support (Igor Sazhnev): you can now access Spring services through GDS and there is an Eclipse demo project available to help you setting up your environment.
  • EJB3 Eclipse demo project: a new project is available to help you start with GDS/EJB3 development.
  • EJB3 to AS3 code generator Eclipse plugin: a new plugin that defines an Ant task and writes AS3 beans for each of your EJB3s.
  • Full Hibernate lazy loading support: all collections (set, list, bag, map) as well as proxy. Map support is based on the good work of Francesco Faraone.
  • Full AMF3 serialization support: add flash.utils.ByteArray, associative arrays and XML document (de)serialization.
  • Pojo Eclipse demo project: a very, very basic project is available to help you start with GDS Pojo support.
  • Custom class descriptors (Igor Sazhnev): you may now plug your own Java or ActionScript3 class descriptors.
  • Java enum externalizer (Igor Sazhnev): Java enum types are now correctly serialized.
  • Custom AMF3 (de)serializers: you may now plug your own AMF3 (de)serializers.
Bug fixes
  • Date deserialization (Igor Sazhnev).
  • Data type conversion (for various type of numbers, date, etc.) from AMF3 deserialization to Java beans.
  • "scope" configuration for Pojo services.


Archive (Documentation for Previous Releases)





Browse Space
- Pages
- Labels
- Attachments
- Mail
- Bookmarks
- News
- Activity
- Advanced

Explore Confluence
- Popular Labels
- Notation Guide

Your Account
Log In

Other Features

View a printable version of the current page.

Add Content
- Add Comment


Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.6.0 Build:#913 Sep 27, 2007)
Bug/feature request - Contact Administrators

SourceForge.net Logo
Copyright © 2007-2008 Adequate Systems. All Rights Reserved.