I wanted to see if I could run the 1.x and 2.x runtimes in the same
JVM at the same time. Given that we have reused class and package
names in 2.x the only way I could think of doing it was by using OSGi.
So I built a single bundle out of (a subset of) the 1.x source and
installed it in OSGi alongside the 2.x bundles. I have a 1.x launcher
bundle and a 2.x launcher bundle in order to wire to appropriate
versions of the runtime. These are currently hardcoded to run the OSOA
and OASIS versions of the calculator sample in the 1.x and 2. runtimes
respectively.

Not quite sure where I'm going with this but it did point out a need
for a change in 2.x in order to stop 2.x processing 1.x
META-INF/services info. Anyhow the code is at [1]. I'd like to start
testing what level of integration we need between 1.x and 2.x by
working out how to submit an app and have the runtime decide whether
it is a 1.x or 2.x app.

Any thoughts most welcome.

Regards

Simon

[1] http://svn.apache.org/repos/asf/tuscany/sandbox/slaws/runtimecompat/

-- 
Apache Tuscany committer: tuscany.apache.org
Co-author of a book about Tuscany and SCA: tuscanyinaction.com

Reply via email to