Hi,

I recently added support of Spring MVC integration for Tuscany on top of the 
Tuscany/Spring web application feature. 

https://cwiki.apache.org/confluence/download/attachments/5964931/Spring+Tuscany.pptx

To support the Spring MVC which has a servlet-scoped application context, I 
added code to allow Tuscany to start/stop a node per servlet and enhanced the 
CompositeContext and Spring implementation provider to link the Spring 
application context to Tuscany.

Here is a working sample:

https://svn.apache.org/repos/asf/tuscany/sandbox/rfeng/sca-java-2.x/implementation-spring/
 (You can find how to invoke it at 
https://svn.apache.org/repos/asf/tuscany/sandbox/rfeng/sca-java-2.x/implementation-spring/helloworld-spring-webapp/src/test/java/sample/HelloworldClientTestCase.java)

(PS: I'm all confused by the move of our samples into various 
contrib/unreleased folders and had a difficult time to dig out the 
Spring/Tuscany integration sample. For now, I leave it in my sandbox before the 
sample structure is settled. ) 

Thanks,
Raymond
________________________________________________________________ 
Raymond Feng
[email protected]
Apache Tuscany PMC member and committer: tuscany.apache.org
Co-author of Tuscany SCA In Action book: www.tuscanyinaction.com
Personal Web Site: www.enjoyjava.com
________________________________________________________________

Reply via email to