Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Tuscany modules should use the existing geronimo http infrastructure.
    Create a tuscany -http-geronimo module that contains a geronimo specific.We need to write a ServletHost extension for Geronimo. What we need to do for this is write a java class that implements the org.apache.tuscany.sca.http.ServletHost interface. This interface has 2 methods namely void addServletMapping(String uri, Servlet servlet) throws ServletMappingException and Servlet removeServletMapping(String uri) throws ServletMappingException.We need to implement these methods such that they will add the servlet passed to the context corressponding corresponding to the URI in geronimoGeronimo. If there is no context then a new context must be created and the servlet should be added to that context. We should be able to add to default context as well. We shouldn't be able to add to contexts of other web applications. Here also geronimo can have either Jetty or Tomcat as the web container. Initially the idea is to just support Tomcat.

...

Things that need to be investigated further

  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

...