 | This documentation is outdated! See current documentation 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)