David H. DeWolf schrieb:
Christian Raschka wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Thank you David for your comment. Now i think, there are two possible
workarounds for this problem:
Sure, thanks for all the work you've done and discussing it on the
list :)
1. we annotate the existing *DD classes with JAXB annotations
2. the JAXB classes extend the *DD classes.
I would add a third:
3. Translate JAXB model into the DD model upon retrieval.
Both has pros and cons. I would prefer the first one but i don't know if
its possible.
I believe the first would be ideal, but also don't know if it's
possible. I really should dive into JAXB more :)
I think, this will be the best solution.
I'd hesitate to do the second if the JAXB versions would contain uniqe
properties that would only be accessible through casting. This would
remove the transparency of the services..
The third possibility could be expensive, however, reading of
descriptors should probably be limited once per portlet app - so I
wouldn't be too concerned with that aspect.
What do others think?
What do you think about it?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFy0IB40Vb1Zesx0kRAiMbAJ9IeV+YwDURcxqJluQ0zFH3V+cRZACfTe11
IO4NL36XruQnQk3c0NbXiK0=
=deZJ
-----END PGP SIGNATURE-----