SCA Java Web Applications (TUSCANY) edited by ant
Page:
http://cwiki.apache.org/confluence/display/TUSCANY/SCA+Java+Web+Applications
Changes:
http://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=106453&originalVersion=1&revisedVersion=2
Content:
---------------------------------------------------------------------
{section:border=false}
{column:width=15%}
{include: SCA Java Subproject Menu}
{include: Java SCA Menu New}
{column}
{column:width=85%}
h3. Using Tuscany in JEE Web Applications
This page describes how to use Tuscany in JEE Web Applications.
h4. Web.xml
Listener required when using non-http based sca services
{code}
<listener>
<listener-class>org.apache.tuscany.sca.webapp.TuscanyListener</listener-class>
</listener>
{code}
Filter required when using http based sca services
{code}
<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>
<filter-mapping>
<filter-name>tuscany</filter-name>
<url-pattern>/services/*</url-pattern>
</filter-mapping>
{code}
{column}
{section}
---------------------------------------------------------------------
CONFLUENCE INFORMATION
This message is automatically generated by Confluence
Unsubscribe or edit your notifications preferences
http://cwiki.apache.org/confluence/users/viewnotifications.action
If you think it was sent incorrectly contact one of the administrators
http://cwiki.apache.org/confluence/administrators.action
If you want more information on Confluence, or have a bug to report see
http://www.atlassian.com/software/confluence