Versions Compared

Key

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

...

META-INF/sca-contribution.xml: Defines the deployable composites for a given contribution
WEB-INF/web.xml: Configures the web application with a tuscany servlet filter
WEB-INF/geronimo-web.xml: Configures the web application to provide geronimo-specific deployment options
WEB-INF/lib: Contains all the required tuscany jars and their dependencies

Image Modified

web.xml

Code Block
2xml
titleSample WEB-INF/web.xml
borderStylesolid
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>

  <display-name>Apache Tuscany Calculator Web Service Sample</display-name>
    <filter>
        <filter-name>tuscany</filter-name>
        <filter-class>org.apache.tuscany.sca.host.webapp.TuscanyServletFilter</filter-class>
    </filter>

    <filter-mapping>
        <filter-name>tuscany</filter-name>
        <url-pattern>/*</url-pattern>
    </filter-mapping>

</web-app>

...