tuscany-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pamela Fong" <pfong...@gmail.com>
Subject Question on ModelObject for binding extension
Date Tue, 03 Apr 2007 01:31:46 GMT
Hi,

I read the article "Extending Tuscany by contributing a new implementation /
binding type" by Raymond and Jeremy. Got a question about the definition of
ModelObject. The example in the article is a very simple java bean-like
object. This is fine if all we have to deal with is some simple attributes
in the extension. If the binding requires complex SCDL model extension,
defining the ModelObject by hand may not be the best choice (let's say one
could have mulitple layers of nested elements and arrays etc.). One obvious
alternative would be to generate some model code based on the extension
xsd using EMF. However, since the binding's xsd extends from sca-core.xsd,
generating model code would require the core model, which doesn't exist in
Tuscany. What would be the recommended mechanism to define the ModelObject
in this case?

-pam

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message