Hi, Mike.

My understanding is that Tuscany 2.x code hasn't fully implemented the latest 
OASIS SCA Spring CI draft spec yet. I'm interested in helping it out.

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
________________________________________________________________

On Aug 19, 2010, at 7:16 AM, Mike Edwards (JIRA) wrote:

> 
>    [ 
> https://issues.apache.org/jira/browse/TUSCANY-3655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12900284#action_12900284
>  ] 
> 
> Mike Edwards commented on TUSCANY-3655:
> ---------------------------------------
> 
> Winston,
> 
> The Tuscany 2.x code implements the OASIS version of the SCA spec, rather 
> than the earlier OSOA version implemented in 1.x.
> 
> This leads to a change in the namespaces, in particular the one used in the 
> application context, which in 2.x needs to look like this:
> 
> <beans xmlns="http://www.springframework.org/schema/beans";
>       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>       xmlns:sca="http://www.springframework.org/schema/sca";
>       xsi:schemaLocation="
>       http://www.springframework.org/schema/beans 
> http://www.springframework.org/schema/beans/spring-beans.xsd
>       http://www.springframework.org/schema/sca 
> http://www.osoa.org/xmlns/sca/1.0/spring-sca.xsd";>
> 
>    <bean id="HelloworldBean" class="sample.HelloworldImpl">
>    </bean>
> 
> </beans>
> 
> note:  http://www.springframework.org/schema/sca 
> http://www.osoa.org/xmlns/sca/1.0/spring-sca.xsd
> 
> You can see this in action in the helloworld-spring sample in the 2.x codebase
> 
>> implementation.spring in a Web Applicaton
>> -----------------------------------------
>> 
>>                Key: TUSCANY-3655
>>                URL: https://issues.apache.org/jira/browse/TUSCANY-3655
>>            Project: Tuscany
>>         Issue Type: Bug
>>         Components: Java SCA Spring Implementation Extension
>>   Affects Versions: Java-SCA-2.0-M5
>>        Environment: JSF2.0, Spring3.0, Hibernate3.1 and java-SCA 2.0
>>           Reporter: winston antony
>> 
>>     <implementation.spring location="applicationContext.xml"/>  this is 
>> throwing the below error 
>> org.apache.tuscany.sca.contribution.processor.ContributionReadException: 
>> Location cannot be resloved: applicationContext.xml
>> applicationContext.xml is put under web-inf directory as well as under src 
>> directory. Still it is not able to find the applicationContext.xml.
> 
> -- 
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
> 

Reply via email to