we use CASTOR to generate JavaBeans from XSD in or application.
I 'd to use these JavaBeans in GWT so i have made a script that suppose
to conform generated JavaBeans with GWT.
i.e. - it remove some bad imports ...
- each JavaBeans implements IsSerilisable etc ...
but there is still a problem some JavaBeans use
- java.math.bigdecimal
- java.util.hastable
- java.util.Enumeration.
so when i try to build i cannot use these objects in GWT.
do you plan to integrate these class in GWT soon ?
is there a way to bypass this issue ?
is it possible to extend GWT to support these types ?
jm
Another thing to watch out for is the way some value objects implement
equals and hashcode since GWT does not support the getClass() method.
You might also write a code generator to build parallel value objects
that mirror the Castor objects and use a tool like Dozer to copy the
data.
Dave