Hi,
I'm excited to see it as an important step for the Tuscany integration with
web containers. Now that web applications start to share the same Tuscany
runtime, I expect to see the isolation/sharing issues between different
contributions :-). Java classloading is one of them. Luciano has started the
work to support import/export for XML artifacts and the java import/export
will follow.
Thanks,
Raymond
----- Original Message -----
From: "ant elder" <[EMAIL PROTECTED]>
To: "tuscany-dev" <tuscany-dev@ws.apache.org>
Sent: Thursday, July 12, 2007 9:36 AM
Subject: TUSCANY-1379 and incremental updates to SCA contributions
As part of looking at TUSCANY-1379 I've added a new webapp distribution
module that supports using multiple SCA contribution jars and hot update
of
those jars so you can modify the contribution jar and the changes are
picked
up without having to restart the webapp. Its not in the build but you can
manually build distribution/webapp (or there's a prebuilt war I'm using at
http://people.apache.org/~antelder/tuscany/tuscany.war). Its also got a
very
trivial web interface that shows the current active components, go to:
http://localhost:8080/tuscany/. To use it you just drop your SCA
contribution jar's into the sca-contributions folder within the webapp and
they should get picked up and installed right away, eg the Tuscany
sample-calculator.jar or helloworld-ws-service.jar work. Once installed
you
can use something like winzip to edit the contents of the jar's and the
changes should also get picked up.
Playing around with this highlights lots of problems, there's TODOs around
the code about some of them, but one issue is the way the runtime and
contribution service currently uses a single class loader so if you try to
update and stop/start a single component or contribution the changes don't
get picked without restarting the entire SCA domain to use a new class
loader. I wondered if this class loader issue is something that might
already be being looked at with all the other work going on right now in
this area?
...ant
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]