Tuscany Tomcat Distribution
Tuscany includes a tuscany.war distribution for SCA-enabling Apache Tomcat, find it at the Tuscany download page.
There are several advantages with using an SCA-enabled Tomcat:
- Individual Web Applications do not need to include any Tuscany jars or Tuscany configuration in the web.xml.
- Other SCA contribution formats such as jar or zip files can be deployed to Tomcat.
- An SCA domain can be used to support SCA wiring accross Web Applications and contributions
Updating Tomcat to use the tuscany.way distribution is really simple - deploy the tuscany.war to Tomcat, go to the Tuscany admin application, click on install, and thats it. On a restart of Tomcat it can now run SCA contributions and SCA enabled Web applications.
The initial release of the tuscany.war in 2.0 M3 includes support for SCA-enabled Web applications as well as SCA contributions deployed to a directory named "sca-contributions" in the Tomcat top-level directory, and a single Tomcat instance wide SCA domain. Upcoming releases will enhance the domain support to allow multiple SCA domains and domains spanning more than a single Tomcat instance.
|