I've started looking at Tuscany integration with Tomcat again and
created a new 2.x tomcat distribution in the distribution/tomcat
folder. That creates a war that can be deployed into Tomcat which
makes embedding Tuscany into Tomcat really easy - just deploy the war,
go to http://localhost:8080/tuscany and click install, and then
restart Tomcat. Thats it, and then you can use SCA in web applications
without needing to include the Tuscany runtime with each web
application.

If you want to give it a try without building it yourself the
tuscany.war is available at:
http://people.apache.org/~antelder/tuscany/tomcat/tuscany.war
and there is a helloworld sample which uses SCA without including
Tuscany at: 
http://people.apache.org/~antelder/tuscany/tomcat/sample-helloworld-jsp.war

This seems quite cool to me, and with potential for helping with lots
of things in 2.x such as using multiple Nodes, endpoints, dynamic
domains, backward compatibility etc. It also helps with making
portable samples that can easily be used in other SCA runtimes because
as the samples don't need to include Tuscany they should run as-is on
Tomact, or Geronimo with the Tuscany plugin, or WebSphere, etc.

Comments?

   ...ant

Reply via email to