with regard to your first question: my understanding is that you’ll need 
sca-contribution.xml
when you have interdependent contributions. For example, when contribution A 
has a component
which you want to include in a composite that sits in contribution B (using 
implementation.composite),
you’ll need to export/import the namespace of A.

Also, the SDo-databinding will pick up type definitions from XSD-files only if 
these files are mentioned in
sca-contribution.xml.


n  Sebastian

From: ESSOUSSI Mohamed Habib [mailto:[email protected]]
Sent: Monday, January 16, 2012 9:17 AM
To: [email protected]
Subject: Is META-INF/sca-contribution.xml needed when running Tuscany 
standalone without SCA Domain

Good day,

I am beginner in Tuscany SCA, I would like to ask you some questions about its 
architecture.

1. I am wondering if the file META-INF/sca-contribution.xml is compulsory when 
running Tuscany standalone without SCA Domain? Because in several defintions of 
the term "contribution", it's mentionned that these SCA artifacts are only 
needed for the SCA Domain.

2. In my applications, I don't use neither SCA Domain nor  sca-contribution.xml 
and that works fine withtout (my contributions are absolutely independants) !
What's the usefulness of an SCA Domain then ? why would we need a SCA Domain ?

3. Can I host distrubuted contributions,composites etc... within a same SCA 
Domain? or they should all be local ? if local, then again, what would be the 
usefulness? :)

Thanks a lot
Yours
--

ESSOUSSI Mohamed Habib
TELECOM SudParis


IDS Scheer Consulting GmbH
Geschäftsführer/Managing Directors: Kamyar Niroumand, Ivo Totev
Sitz/Registered office: Altenkesseler Straße 17, 66115 Saarbrücken, Germany - 
Registergericht/Commercial register: Saarbrücken HRB 19681
http://www.softwareag.com

Reply via email to