Domain level autowiring etc.

2007-11-27 Thread Simon Laws
Should autowiring work at the domain level? It doesn't at the moment. It's only considered within a contributed composite. To autowire at the domain level we have to adjust the way that service endpoints and references are matched, i.e. extend the process to looking at interfaces and policies. In

Problems building node-impl

2007-11-27 Thread ant elder
I'm getting some errors building node-impl on the latest trunk code, anyone else seeing this or is it something in my local environment? failure type=junit.framework.AssertionFailedError message=null junit.framework.AssertionFailedError: null at junit.framework.Assert.fail(Assert.java:47)

Re: Problems building node-impl

2007-11-27 Thread Simon Laws
On Nov 27, 2007 9:47 AM, ant elder [EMAIL PROTECTED] wrote: I'm getting some errors building node-impl on the latest trunk code, anyone else seeing this or is it something in my local environment? failure type=junit.framework.AssertionFailedError message=null

Re: Problems building node-impl

2007-11-27 Thread Rajini Sivaram
Simon, I had the same two failures with a clean build after checking out the code yesterday. Thank you... Regards, Rajini On 11/27/07, Simon Laws [EMAIL PROTECTED] wrote: On Nov 27, 2007 9:47 AM, ant elder [EMAIL PROTECTED] wrote: I'm getting some errors building node-impl on the

Re: Problems building node-impl

2007-11-27 Thread ant elder
On Nov 27, 2007 10:01 AM, Simon Laws [EMAIL PROTECTED] wrote: On Nov 27, 2007 9:47 AM, ant elder [EMAIL PROTECTED] wrote: I'm getting some errors building node-impl on the latest trunk code, anyone else seeing this or is it something in my local environment? failure

Re: Problems building node-impl

2007-11-27 Thread Simon Laws
On Nov 27, 2007 10:46 AM, ant elder [EMAIL PROTECTED] wrote: On Nov 27, 2007 10:01 AM, Simon Laws [EMAIL PROTECTED] wrote: On Nov 27, 2007 9:47 AM, ant elder [EMAIL PROTECTED] wrote: I'm getting some errors building node-impl on the latest trunk code, anyone else seeing this or is

Re: Problems building node-impl

2007-11-27 Thread ant elder
On Nov 27, 2007 11:47 AM, Simon Laws [EMAIL PROTECTED] wrote: On Nov 27, 2007 11:31 AM, ant elder [EMAIL PROTECTED] wrote: On Nov 27, 2007 11:24 AM, Simon Laws [EMAIL PROTECTED] wrote: On Nov 27, 2007 10:46 AM, ant elder [EMAIL PROTECTED] wrote: On Nov 27, 2007 10:01

Re: Distribution structure for SCA Java 1.1 release (was Re: Sample dependencies not pulled in distribution)

2007-11-27 Thread Simon Laws
On Nov 27, 2007 2:25 PM, ant elder [EMAIL PROTECTED] wrote: I've just committed a runtime-war module as a start of whats being talked about here, which could be merged or replace distribution/webapp at some point. I'll post some more details later. One comment inline below: ...ant On Nov

Callback problem

2007-11-27 Thread Giorgio Zoppi
Hi, i've a problem with callbacks in this situation. I create a component, call it.. AComponent @Remotable @Callback(AComponentCallback.class) public interface AComponent { @OneWay void someMethod(); } public interface AComponentCallback { void receiveResult() } I'd like to set callback

Re: Distribution structure for SCA Java 1.1 release (was Re: Sample dependencies not pulled in distribution)

2007-11-27 Thread ant elder
I've just committed a runtime-war module as a start of whats being talked about here, which could be merged or replace distribution/webapp at some point. I'll post some more details later. One comment inline below: ...ant On Nov 23, 2007 6:00 PM, Simon Laws [EMAIL PROTECTED] wrote: snip

[jira] Created: (TUSCANY-1920) SCADomainFinder's getSCADomain() method always returning null object

2007-11-27 Thread Jeff Davis (JIRA)
SCADomainFinder's getSCADomain() method always returning null object Key: TUSCANY-1920 URL: https://issues.apache.org/jira/browse/TUSCANY-1920 Project: Tuscany Issue Type:

[jira] Updated: (TUSCANY-1920) SCADomainFinder's getSCADomain() method always returning null object

2007-11-27 Thread Simon Laws (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1920?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Simon Laws updated TUSCANY-1920: Fix Version/s: Java-SCA-1.1 Assignee: Simon Laws Target 1.1. and assign to me

Re: Callback problem

2007-11-27 Thread Simon Nash
This should work. I am trying to understand the code example you gave. In the code snippet you have a call to setCallback() that passes a ServiceReferenceWorkpoolService as the callback for a service of type WorkpoolService. However, your sample service is of type AComponent and its callback

Re: Distribution structure for SCA Java 1.1 release (was Re: Sample dependencies not pulled in distribution)

2007-11-27 Thread Simon Nash
ant elder wrote: On Nov 27, 2007 2:29 PM, Simon Laws [EMAIL PROTECTED] wrote: On Nov 27, 2007 2:25 PM, ant elder [EMAIL PROTECTED] wrote: I've just committed a runtime-war module as a start of whats being talked about here, which could be merged or replace distribution/webapp at some

Re: Callback problem

2007-11-27 Thread Giorgio Zoppi
2007/11/27, Simon Nash [EMAIL PROTECTED]: This should work. I am trying to understand the code example you gave. In the code snippet you have a call to setCallback() that passes a ServiceReferenceWorkpoolService as the callback for a service of type WorkpoolService. However, your sample

getQNameDefinition?

2007-11-27 Thread Simon Laws
I'm looking at the getQNameDefinition method which is described in the assembly spec but I don't have a specific scenario describing how it works or what it's for. It would seem to be saying that parts of the domain model should be available based on QName but I don't understand why it uses a

Re: Domain level autowiring etc.

2007-11-27 Thread Raymond Feng
Please see my comments inline. Thanks, Raymond - Original Message - From: Simon Laws [EMAIL PROTECTED] To: tuscany-dev tuscany-dev@ws.apache.org Sent: Tuesday, November 27, 2007 1:18 AM Subject: Domain level autowiring etc. Should autowiring work at the domain level? It doesn't at

Re: Distribution structure for SCA Java 1.1 release (was Re: Sample dependencies not pulled in distribution)

2007-11-27 Thread Jean-Sebastien Delfino
Rajini Sivaram wrote: Sebastien, We would like to enable a binary Tuscany distribution to run under OSGi. I am not sure of the level of granularity at which a bundle-ized Tuscany makes sense in terms of providing modularity and versioning using OSGi. But I would like to make sure that the

Re: getQNameDefinition?

2007-11-27 Thread Raymond Feng
Hi, My understanding is that this operation provides look-up capability in an installed contribution. For example, if you want to find a WSDL portType based on the QName in contribution A, the call will be: QName wsdlPortType = new QName(http://schemas.xmlsoap.org/wsdl/;, PortType); // The

Re: Domain level autowiring etc.

2007-11-27 Thread Jean-Sebastien Delfino
Raymond Feng wrote: [snip] Should autowiring work at the domain level? It doesn't at the moment. It's only considered within a contributed composite. To autowire at the domain level we have to adjust the way that service endpoints and references are matched, i.e. extend the process to looking

Re: Policy Framework Scenarios.

2007-11-27 Thread Raymond Feng
Please see my comments inline. Thanks, Raymond - Original Message - From: Venkata Krishnan [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Monday, November 26, 2007 2:51 AM Subject: Policy Framework Scenarios. Hi, Most part of the core policy framework now implemented except

Re: Policy Framework Scenarios.

2007-11-27 Thread Jean-Sebastien Delfino
Venkata Krishnan wrote: Meanwhile, I'd like to whet and evolve whatever has been done with different user perspectives... so here are some perspectives I could think of... could people kindly help with their opinions and inputs on this, please also if any of you have other scenarios or ways

Re: Policy Framework Scenarios.

2007-11-27 Thread Jean-Sebastien Delfino
Raymond Feng wrote: Please see my comments inline. Thanks, Raymond - Original Message - From: Venkata Krishnan [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Monday, November 26, 2007 2:51 AM Subject: Policy Framework Scenarios. Hi, Most part of the core policy framework

Using security policies in the Bigbank scenario, was Re: Policy Framework Scenarios.

2007-11-27 Thread Jean-Sebastien Delfino
Jean-Sebastien Delfino wrote: [snip] I'll propose a scenario in a separate email. Here it goes: - We have support for SCA security policies. - We have a Bigbank application. - A bank application should be secure. Looks like a perfect fit to me. Going through a real world like scenario and

Re: Data transformation from/to POJO

2007-11-27 Thread Raymond Feng
I think there are two options: 1) Make the JAXB databinding as the default databinding for POJOs (simple and complex types). 2) Keep the POJO databindings and implement the POJO--XML transformers using JAXB-impl Thanks, Raymond - Original Message - From: Jean-Sebastien Delfino

[jira] Created: (TUSCANY-1921) Spring implementation looks for application context files in the wrong location

2007-11-27 Thread Niklas Gustavsson (JIRA)
Spring implementation looks for application context files in the wrong location --- Key: TUSCANY-1921 URL: https://issues.apache.org/jira/browse/TUSCANY-1921 Project: Tuscany

Re: Data transformation from/to POJO

2007-11-27 Thread Jean-Sebastien Delfino
Raymond Feng wrote: I think there are two options: 1) Make the JAXB databinding as the default databinding for POJOs (simple and complex types). What about doing that? any drawback? 2) Keep the POJO databindings and implement the POJO--XML transformers using JAXB-impl Thanks, Raymond

Re: Data transformation from/to POJO

2007-11-27 Thread Raymond Feng
I'll prototype to see if it's feasible. Thanks, Raymond - Original Message - From: Jean-Sebastien Delfino [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Tuesday, November 27, 2007 1:18 PM Subject: Re: Data transformation from/to POJO Raymond Feng wrote: I think there are

Re: Data transformation from/to POJO

2007-11-27 Thread Jean-Sebastien Delfino
Jean-Sebastien Delfino wrote: Raymond Feng wrote: I think there are two options: 1) Make the JAXB databinding as the default databinding for POJOs (simple and complex types). What about doing that? any drawback? And, jumping ahead and assuming that any drawbacks are acceptable, what

Re: Callback problem

2007-11-27 Thread Simon Nash
Giorgio Zoppi wrote: 2007/11/27, Simon Nash [EMAIL PROTECTED]: This should work. I am trying to understand the code example you gave. In the code snippet you have a call to setCallback() that passes a ServiceReferenceWorkpoolService as the callback for a service of type WorkpoolService.

Re: Callback problem

2007-11-27 Thread Simon Nash
One more question. What is the code in the worker that makes a callback to the workpool? Does it use an injected reference annotated with @Callback, or does it make the callback using a CallableReference for the callback that it obtains from the RequestContext using the getCallback() method?

Updated online store tutorial

2007-11-27 Thread Jean-Sebastien Delfino
The online store tutorial application is now pretty much working. It shows how SCA allows a business to create an online store composite application and recompose and evolve it as the business changes and expands. 1. How to build an online store to sell fruits online with an SCA composite, a

Re: Distribution structure for SCA Java 1.1 release (was Re: Sample dependencies not pulled in distribution)

2007-11-27 Thread Jean-Sebastien Delfino
Jean-Sebastien Delfino wrote: [snip] Simon Nash wrote: I would like to make a start on improving the modularity of the distro by building a distro containing only a base SCA runtime. Sebastien's description of this was - base SCA runtime (assembly, policy fwk, impl-java) [snip] I haven't

Distributed online store scenario, was: Updated online store tutorial

2007-11-27 Thread Jean-Sebastien Delfino
Jean-Sebastien Delfino wrote: [snip] The online store tutorial application is now pretty much working. [snip] the tutorial does not yet show how to distribute the application across different containers like Tomcat or Geronimo. I think we should add that aspect too, I'll post some ideas on

[jira] Commented: (TUSCANY-1921) Spring implementation looks for application context files in the wrong location

2007-11-27 Thread gengshaoguang (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12546092 ] gengshaoguang commented on TUSCANY-1921: Hi, I have 2 points to mention, first: implementation-spring has

Re: [DAS] external static model based Types - gaps

2007-11-27 Thread Amita Vadhavkar
For this , support for keyref is required from SDO , which will be there in SDO 3 (as per some old mails). With keyref, FK relationships in DB can be mapped in model XSDs and there will be no need of DAS config/COC to provide relationshp info. Regards, Amita On Oct 16, 2007 1:42 PM, Amita

Re: Distribution structure for SCA Java 1.1 release (was Re: Sample dependencies not pulled in distribution)

2007-11-27 Thread shaoguang geng
Hi, I recently read the article on osoa.org: 《Power_Combination_SCA_Spring_OSGi.pdf》 This article gave great impression to me(and my colleague). So I think here making Tuscany an osgi based container, will boost Tuscany onto a new era. I think from the architect view of Tuscany, it is very