> I was having thinking about backward compatibility again and wonder if
> there is another approach we've not mentioned yet which may be easier
> - translate OSOA contributions to OASIS at runtime. At the simplest
> level all that needs to be done is change the namespace in XML files
> (eg in getName in the XMLStreamReader) and change the annotation
> package name in Java implementation classes (eg using ASM in
> BaseJavaImplementationImpl.setJavaClass), just those two changes would
> get a lot of the 1.x samples running in 2.x, and with a bit more work
> would be to do more complex transformations of composites to map
> between OSOA and OASIS. There are some things we can't support, such
> as conversations, but we should be able to get a lot of 1.x
> contributions running on the 2.x runtime with that approach.
>
> WDYT, is this something worth having a go at?
>
>   ...ant
>

I think Mark discussed this approach originally under the title of a
migration tool. Given that we currently support OSOA and OASIS
composites using separate runtimes then a migration tool would be
useful. However I don't agree with the "at runtime" part. If we build
a migration tool I think it should be under the control of the user as
to when it runs. If they have a 1.0 composite then they can convert it
to a 1.1 composite, take notice of any errors that are reported during
the conversion and, once happy, run it on the 1.1 runtime. No magic
required.

Simon

Reply via email to