asutton at cs.kent.edu
Tue Dec 2 12:35:04 UTC 2003
On Tuesday 02 December 2003 03:18 pm, Jonathan Riddell wrote:
> On Tue, Dec 02, 2003 at 12:02:31PM -0500, Andrew Sutton wrote:
> > i will say this... the uml standards favor languages like java and c# for
implementation. coding these object models in c++ poses some
> > significant challenges.
> Why's that?
it's really because of the reflective layer. the standard is built around an
object model in which everything has a common base and its type can be
"easily" determined. remember, the uml api was originally written in idl for
corba. corba has a really complex type system that lets you do that.
languages like java and c# have that style of type system built in.
it gets really complicated when you start dealing with collections. templates
don't translate too well to this style of object model.
the solution i used with omf was to basically re-create this concept, although
i tried to keep it as light as possible. i didn't do such a good job -
although its not as complex as corba :)
More information about the umbrello-devel