Hi,

I have been working with Raymond to get the component properties support up
in Java SCA. i.e. loading of property default values specified in
componentType definition and loading of overiding values for these
properties in the component defn. (scdl).

The crux of the behaviour here lies in loading the values (from
componentType / scdl) in a Document Object and then transforming it to a
form that can be consumed by the implementation containers. i.e. tranforming
XML Document to Java object for Java Container, to Javascript Object for JS
container and so on.

With a recent update, Java SCA is now enabled to handle 'simple' properties
i.e. properties who xml type has a well know mapping to a Java Type - thanks
to the databinding framework done by Raymond.

Enhancing this to support complex / user-defined types has some issues some
of which are: -
- capturing the schema location for these types
- implementing the databinding and transformers to transform xml data to
appropriate java or javascript or groovy or ruby types
- modifying the implementation builders to be able to specify the
databinding that the component loaders must use for property transformations

These and maybe a few more hidden ones are going to take a few iterations to
fix.  Given the current situation of having to make the M2 release asap I'd
like to know the community's opinion if having support for 'complex
properites in M2' is critical?

Thanks.

- Venkat

Reply via email to