Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

Latest update

The latest Geronimo Tuscany plugin we have can be installed on Geronimo v2.1.3. The plugin supports SCA reference and property injection in JSP, Servlet, Servlet Filters, Listeners, JSF Managed Beans, Session EJB and Message-Driven EJB. For instructions on installing the plugin and running sample applications, see http://cwiki.apache.org/confluence/display/TUSCANYWIKI/Installing+Tuscany+Plugin+for+Geronimo .

Note: Rest of the page is not up to date (sad). Please bear with us while we update this page.
---------------------------
A page to capture the ideas and discussions on Geronimo-Tuscany Integration. This wiki page is a summary of the discussions on the mailing lists. Feel free to help in developing the ideas here.

...

  • Tuscany modules should be deployable in Apache Geronimo.
    For this we need to write a geronimo-plugin with a deployer that can handle tuscany modules. On how to write a geronimo-plugin please refer the link http://cwiki.apache.org/GMOxDOC11/advanced-plugin-sample.htmlImage Removed.
    Initially we will be using a server wide SCADomain instance. The org.apache.tuscany.sca.host.embedded.impl.EmbeddedSCADomain implementation or a derived class will be used and exposed as a GBean in geronimo so that all the other configurations can lookup the domain via GBean lookup and add their composites.

...

  • Tuscany modules should use the existing geronimo rmi infrastructure.
    tuscany-host-rmi needs to be replaced with a geronimo specific version that uses geronimo rmi infrastructure This may need a geronimo specific RMI host to be plugged in instead of the default one in tuscany.

Initially this is what we will be trying to achieve.

...

  1. How to implement #2 and #3
    For #3 we may need to extend tuscany to have a new implementation.web implementation type that can consume the services exposed by other SCA Components.
  2. Having multiple SCADomains in the same server instance
  3. Using Distributed Domains
  4. Better integration of the bindings to take care of using geronimo infrastructure

Current Status

We have made some progress and here are the details:

  • Switched to version 2.0.1 of Geronimo and 1.0-incubating of Tuscany.
  • We have a plugin that has an EmbeddedSCADomain and a deployer that allows to deploy tuscany jars into Geronimo 2.0.1 server.  Contribution from multiple tuscany jars gets added to a single EmbeddedSCADomain.
  • We have created a ServletHost extension for Geronimo, so that the embedded Tomcat/Jetty server is used (instead of starting a new Tomcat/Jetty server) when webservice bindings are used.
  • We have a sample HelloWorldService tuscany jar that when deployed in Geronimo makes the service available as a WebService.
  • We have a sample SimpleBigBank-new that uses a reference ejb binding and makes the service available as a WebService. Note: Sample may need to be updated.
  • interface.wsdl element is not working.  Using interface.java is a work around we have for now. Note: Needs verification.
  • The code is in Geronimo Plugins at https://svn.apache.org/repos/asf/geronimo/plugins/tuscany.
  • Samples are available in Geronimo Sandbox at https://svn.apache.org/repos/asf/geronimo/sandbox/tuscany-integration

References

There are three mail chains providing more info
chain1
chain2
chain3

...