Re: Persisting the domain model

2007-12-10 Thread Jean-Sebastien Delfino
Simon Laws wrote: I want to persist/read the domain model to/from disc. At the moment it's held in memory and there's no way of reading it in or writing it out other than via the domain API. The model itself is very limited and overlaps the assembly model so I'm stripping out any repeated info so

Re: How to invoke a service using a common class interface

2007-12-10 Thread Jean-Sebastien Delfino
wang feng wrote: > Hi,all > I has a scenario as below. > When get a service,I want to use a common service class such as > 'ServiceInvoker'. > The use of the common class like a class reflect. > > ServiceInvoker.java > public interface ServiceInvoker{ > Object invoke(String met

Re: How to run incremental builds of the Tuscany SCA tree

2007-12-10 Thread Jean-Sebastien Delfino
Raymond Feng wrote: Hi, I tried the plugins and it works well. I also made the following improvements: 1) Integrate the plugin with maven scm capability, i.e. use APIs to call "svn status" to detect if there are any local changes against SVN repo. (Pretty fast for a single module). Any ide

Re: Remotable interfaces and pass by value, was: Data transformation from/to POJO

2007-12-06 Thread Jean-Sebastien Delfino
Giorgio Zoppi wrote: 2007/12/5, Jean-Sebastien Delfino <[EMAIL PROTECTED]>: Jean-Sebastien Delfino wrote: Some answers after researching the spec docs: Raymond Feng wrote: Hi, I think this issue needs to be brought up at the spec level. Basically, the following have to be clarifi

Re: Webapp integration test with maven cargo plugin

2007-12-06 Thread Jean-Sebastien Delfino
Simon Laws wrote: On Dec 6, 2007 5:06 AM, Raymond Feng <[EMAIL PROTECTED]> wrote: Hi, We have been painful with running the web application tests manually a few days before a release. I think it would be beneficial to automate the tests as part of the maven build. To get it started, I checked

Re: Remotable interfaces and pass by value, was: Data transformation from/to POJO

2007-12-06 Thread Jean-Sebastien Delfino
Simon Nash wrote: This approach sounds good to me. I'd like to suggest one small addition to the final "else" clause, based on the following spec quote: Java SCA Annotations and APIs spec: 1531 Complex data types exchanged via remotable service interfaces must be compatible with the marshall

Re: Data transformation from/to POJO

2007-12-05 Thread Jean-Sebastien Delfino
Raymond Feng wrote: Hi, I have checked in the first cut under http://svn.apache.org/viewvc?rev=601501&view=rev. With these changes, we now use JAXB databinding to deal with POJOs (including simple and complex types). By the JAXB Java to XML default mapping, POJOs are supported in line with t

Re: Policy Handlers ?

2007-12-04 Thread Jean-Sebastien Delfino
Raymond Feng wrote: Hi, Let's take the transaction policy as an example to understand the responsibilities of the players. Assuming the following intents are declared against the binding or implementation types, what code are needed to enforce the semantics? Intent

How to run incremental builds of the Tuscany SCA tree

2007-12-04 Thread Jean-Sebastien Delfino
I'm sharing this as I think it could be useful to others. I like to build the java/sca tree before committing code changes to check that my changes are not going to break any other module. This gives me a peace of mind as I don't have to worry about build breaks and is also nice to other cont

Re: Remotable interfaces and pass by value, was: Data transformation from/to POJO

2007-12-04 Thread Jean-Sebastien Delfino
Jean-Sebastien Delfino wrote: Some answers after researching the spec docs: Raymond Feng wrote: Hi, I think this issue needs to be brought up at the spec level. Basically, the following have to be clarified: 1) What interfaces are qualified to be remotable? 2) What are the characteristics

Re: Distributed online store scenario, was: Updated online store tutorial

2007-12-04 Thread Jean-Sebastien Delfino
[snip] Simon Laws wrote: To get me going on this I've experimented with moving the FruitsCatalog out of the cloud and into a webapp. The web app relies on the evolving deep tomcat integration so starting the scenario requires the following steps Unzip the distribution/tomcat zip over your

Remotable interfaces and pass by value, was: Data transformation from/to POJO

2007-11-30 Thread Jean-Sebastien Delfino
Some answers after researching the spec docs: Raymond Feng wrote: Hi, I think this issue needs to be brought up at the spec level. Basically, the following have to be clarified: 1) What interfaces are qualified to be remotable? 2) What are the characteristics of the input/output types for re

Re: Data transformation from/to POJO

2007-11-30 Thread Jean-Sebastien Delfino
Giorgio Zoppi wrote: 2007/11/29, Simon Nash <[EMAIL PROTECTED]>: Giorgio Zoppi wrote: 2007/11/28, Jean-Sebastien Delfino <[EMAIL PROTECTED]>: Giorgio Zoppi wrote: One of the first problem that i had, when I started using Tuscany, was that I was serialize something witho

Re: What is this base domain URI about? was: Selection of default service URIs based on URIs from the composite

2007-11-30 Thread Jean-Sebastien Delfino
Jean-Sebastien Delfino wrote: ant elder wrote: On Nov 30, 2007 5:19 PM, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: ant elder wrote: On Nov 30, 2007 1:52 PM, Simon Laws <[EMAIL PROTECTED]> wrote: We have discussed this behaviour before and I was sort of convinced last

What is this base domain URI about? was: Selection of default service URIs based on URIs from the composite

2007-11-30 Thread Jean-Sebastien Delfino
ant elder wrote: On Nov 30, 2007 5:19 PM, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: ant elder wrote: On Nov 30, 2007 1:52 PM, Simon Laws <[EMAIL PROTECTED]> wrote: We have discussed this behaviour before and I was sort of convinced last time but now I'm playi

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

2007-11-30 Thread Jean-Sebastien Delfino
Venkata Krishnan wrote: Hi, Heres what I am intending to do for the secure-bigbank into which I have copied over the exiting calculator, stockquote and account demos into secure-bigbank... Could you commit that? it doesn't have to work, I'm sure it's going to take a few weeks before it does,

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

2007-11-30 Thread Jean-Sebastien Delfino
Raymond Feng wrote: Hi, I suggest that we not expand too quickly into other bindings such as RMI. Let's focus on getting your previous proposal (StockQuote, AccountData services) implemented first. Thanks, Raymond +1 to try to work through the actual scenario first. When I brought up the

Re: Selection of default service URIs based on URIs from the composite

2007-11-30 Thread Jean-Sebastien Delfino
ant elder wrote: On Nov 30, 2007 4:44 PM, Simon Laws <[EMAIL PROTECTED]> wrote: On Nov 30, 2007 4:38 PM, ant elder <[EMAIL PROTECTED]> wrote: On Nov 30, 2007 2:46 PM, Simon Laws <[EMAIL PROTECTED]> wrote: On Nov 30, 2007 2:09 PM, ant elder < [EMAIL PROTECTED]> wrote: On Nov 30, 2007 1:52

Re: Selection of default service URIs based on URIs from the composite

2007-11-30 Thread Jean-Sebastien Delfino
ant elder wrote: On Nov 30, 2007 1:52 PM, Simon Laws <[EMAIL PROTECTED]> wrote: We have discussed this behaviour before and I was sort of convinced last time but now I'm playing with the store sample I'm not so sure. This features comes about because of the store composite, for example,

Re: Refactoring helloworld-ws-service sample

2007-11-30 Thread Jean-Sebastien Delfino
Venkata Krishnan wrote: Hi, I've been using the calculator sample for demonstrating implementation polices until begining of this week when I realized that I was cluttering that sample a bit. So I decided to leave that alone and create a new sample for demonstrating implementation policies (cal

Re: SCADefinitions - definitions.xml file

2007-11-30 Thread Jean-Sebastien Delfino
Venkata Krishnan wrote: Hi, The Assembly and Policy Fwk specs mention that domain-wide definitions such as policy intents, policysets, binding type defns, impl type defns all defined in a 'global, domain-wide file' named. definitions.xml A single domain wide file with all definitions may not pl

Re: Data transformation from/to POJO

2007-11-30 Thread Jean-Sebastien Delfino
Simon Nash wrote: Mike Edwards wrote: Folks, I have some suggestions here: Jean-Sebastien Delfino wrote: I prefer to have consistent rules (with respect to what the business objects can look like or must implement) between a remotable interface bound to an XML-based binding and a

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

2007-11-29 Thread Jean-Sebastien Delfino
Raymond Feng wrote: Hi, I propose to add the following to the BigBank scenario too to cover transaction policies and JMS binding. 1) Have separate components to represent the SavingsAccountService and CheckingAccountService. The two services will be backed by two different resource managers

Re: Distributed online store scenario, was: Updated online store tutorial

2007-11-28 Thread Jean-Sebastien Delfino
Simon Laws wrote: On Nov 28, 2007 4:11 PM, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: Simon Laws wrote: [snip] If I understand this correctly it looks like a reasonable way to extend the Fruit&Veg scenario. In the current scenario I believe that the catalog services, whe

Re: Data transformation from/to POJO

2007-11-28 Thread Jean-Sebastien Delfino
Giorgio Zoppi wrote: One of the first problem that i had, when I started using Tuscany, was that I was serialize something without a mapping, because I wanted that a job was something more generics possible, i couldn't. I'm not sure I understand what you mean by "serialize something without a

Re: Distributed online store scenario, was: Updated online store tutorial

2007-11-28 Thread Jean-Sebastien Delfino
Simon Laws wrote: [snip] If I understand this correctly it looks like a reasonable way to extend the Fruit&Veg scenario. In the current scenario I believe that the catalog services, when run from the "cloud" module are running as part of the distributed domain but rely on the embedded Jetty supp

Re: Data transformation from/to POJO

2007-11-28 Thread Jean-Sebastien Delfino
Simon Nash wrote: Jean-Sebastien Delfino wrote: 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

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 ide

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 ha

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: 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: Data transformation from/to POJO

2007-11-27 Thread Jean-Sebastien Delfino
aymond - Original Message - From: "Jean-Sebastien Delfino" <[EMAIL PROTECTED]> To: Sent: Monday, November 26, 2007 3:26 PM Subject: Re: Data transformation from/to POJO Raymond Feng wrote: Hi, I just did a test to see how JAXB-RI handles the POJO without any annotat

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 scenari

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: 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: 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: 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 bundl

Re: Data transformation from/to POJO

2007-11-26 Thread Jean-Sebastien Delfino
Raymond Feng wrote: Hi, I just did a test to see how JAXB-RI handles the POJO without any annotations. The result seems to be promising. I started with a POJO: public class MyBean { private int age; private String name; private List notes = new ArrayList(); public int getAge() {

Re: Method names in SCADomain* and SCANode* APIs

2007-11-26 Thread Jean-Sebastien Delfino
Simon Nash wrote: The following method names in domain-api and node-api include a reference to either a domain or a node: SCADomain.addToDomainLevelComposite() SCADomain.removeFromDomainLevelComposite() SCADomain.getDomainLevelComposite() SCADomainFactory.createSCADomain() SCADomainFinder.ge

Re: Data transformation from/to POJO

2007-11-26 Thread Jean-Sebastien Delfino
Raymond Feng wrote: Hi, I'm on the same boat as Mike and you. The discussion was about how can we simplify the data transformation of a subset of POJOs following a strict pattern without starting from a formal model such as XSD. I don't know any JAXB implementation can handle a POJO without J

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

2007-11-26 Thread Jean-Sebastien Delfino
Rajini Sivaram wrote: Simon, I did take a look at splitting the Tuscany distribution into bundles with the hope of defining something which makes sense for OSGi as well as non-OSGi. I dont really think that makes much sense anymore. Grouping modules into OSGi bundles using existing maven plugins

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

2007-11-26 Thread Jean-Sebastien Delfino
[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 yet figured out how to do a sandbo

Re: svn commit: r596692 - /incubator/tuscany/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/builder/impl/CompositeConfigurationBuilderImpl.java

2007-11-20 Thread Jean-Sebastien Delfino
Simon Laws wrote: On Nov 20, 2007 3:59 PM, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: Are you sure that this is the right semantics? Can you help me understand why we need to change the naming of the service if there's a a callback? Thanks. [EMAIL PROTECTED] wrote: Au

Re: svn commit: r596692 - /incubator/tuscany/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/builder/impl/CompositeConfigurationBuilderImpl.java

2007-11-20 Thread Jean-Sebastien Delfino
Are you sure that this is the right semantics? Can you help me understand why we need to change the naming of the service if there's a a callback? Thanks. [EMAIL PROTECTED] wrote: Author: slaws Date: Tue Nov 20 06:35:45 2007 New Revision: 596692 URL: http://svn.apache.org/viewvc?rev=596692&

Re: binding-json doesn't support inward Object

2007-11-20 Thread Jean-Sebastien Delfino
shaoguang geng wrote: Hi, Lucaino: I tried more, and I noticed that to make JSONObject->pojo work, I need to annote the service interface as @Remoteable. The actual transform happens as: JSONObject->JSON2XMLStreamReader->XMLStreamReader->XML2JavaBeanTransformer->pojo So inside this chain, I

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

2007-11-19 Thread Jean-Sebastien Delfino
[snip] Simon Nash wrote: Samples are very important for beginning users. For users who have moved beyond that stage and are doing real development using Tuscany, samples are not very important. If people in this category do want samples, they are likely to just want to refer to samples source c

Re: Change the syntax for qname in META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor

2007-11-19 Thread Jean-Sebastien Delfino
[snip] Raymond Feng wrote: The javadoc in QName.valueOf(String) method has some explanations: http://java.sun.com/j2ee/1.4/docs/api/javax/xml/namespace/QName.html#valueOf(java.lang.String) Thanks, Raymond OK Thanks, what about the other questions? Also, I'm not sure I understand the code

Re: [NOTICE] Rajini Sivaram voted as Tuscany committer

2007-11-19 Thread Jean-Sebastien Delfino
ant elder wrote: The Tuscany PPMC and Incubator PMC have voted for Rajini Sivaram to become a Tuscany committer. Congratulations and welcome Rajini! ...ant Welcome Rajini! -- Jean-Sebastien - To unsubscribe, e-mail: [EM

Re: How to write a simple SDO class for the tutorial?

2007-11-19 Thread Jean-Sebastien Delfino
kelvin goodson wrote: I missed you last point in my reply. getStaticType() is required to underpin fundamental EMF behaviour. Without it EMF's capacity to know the class of an EObject (which all our DataObjects are derived from) is broken for all static classes, and that would break many SDO b

Re: How to write a simple SDO class for the tutorial?

2007-11-19 Thread Jean-Sebastien Delfino
kelvin goodson wrote: Sebastien, There's the basis of a Java interface to SDO generator at [1] but it hasn't been developed to a working state and hasn't been looked since the initial drop of code into Tuscany. It would be great to get this or similar function up and running. If you take a loo

Re: Remote references for non-existent services

2007-11-18 Thread Jean-Sebastien Delfino
Simon Laws wrote: On Nov 17, 2007 6:21 PM, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: Simon Laws wrote: Should the domain api allow users to create service references to services that don't exist in the domain yet. Currently they can and they get an exception if they try

Re: Data transformation from/to POJO

2007-11-17 Thread Jean-Sebastien Delfino
Raymond Feng wrote: Please see comments inline. Raymond - Original Message - From: "Jean-Sebastien Delfino" <[EMAIL PROTECTED]> To: Sent: Saturday, November 17, 2007 9:59 AM Subject: Re: Data transformation from/to POJO Raymond Feng wrote: Hi, With the recent de

Re: Data transformation from/to POJO

2007-11-17 Thread Jean-Sebastien Delfino
Raymond Feng wrote: Please see comments inline. Raymond - Original Message - From: "Jean-Sebastien Delfino" <[EMAIL PROTECTED]> To: Sent: Saturday, November 17, 2007 9:59 AM Subject: Re: Data transformation from/to POJO Raymond Feng wrote: Hi, With the recent de

Re: Change the syntax for qname in META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor

2007-11-17 Thread Jean-Sebastien Delfino
Raymond Feng wrote: Hi, By the Namespaces in XML 1.0 (second edition) [1]: [Definition: An XML namespace is identified by a URI reference [RFC3986]; element and attribute names may be placed in an XML namespace using the mechanisms described in this specification. ] By RFC3986 [2]: URI

Re: Remote references for non-existent services

2007-11-17 Thread Jean-Sebastien Delfino
Simon Laws wrote: Should the domain api allow users to create service references to services that don't exist in the domain yet. Currently they can and they get an exception if they try and use it. This is consistent with the way that references are injected into components work. I'm comfortable

Re: Sample dependencies not pulled in distribution

2007-11-17 Thread Jean-Sebastien Delfino
Simon Nash wrote: Jean-Sebastien Delfino wrote: ant elder wrote: On Nov 14, 2007 9:11 PM, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: Luciano Resende wrote: Try removing the test scope from derby dependency on the implementation-data pom. Did that and it

Re: Data transformation from/to POJO

2007-11-17 Thread Jean-Sebastien Delfino
Raymond Feng wrote: Hi, With the recent development of the online store tutorial, we encounter quite a few issues around the transformation between POJO and other databindings (such as XML, JSON). Yeah :) Let's take the POJO <--> XML as an example. Here is a set of questions to be answer

Re: svn commit: r595217 - /incubator/tuscany/java/sca/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/SCANodeImpl.java

2007-11-17 Thread Jean-Sebastien Delfino
Simon Laws wrote: On Nov 15, 2007 5:59 AM, <[EMAIL PROTECTED]> wrote: Author: jsdelfino Date: Wed Nov 14 21:59:04 2007 New Revision: 595217 URL: http://svn.apache.org/viewvc?rev=595217&view=rev Log: Configure the default HTTP port from service uris declared in the composite running on a nod

Re: Change the syntax for qname in META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor

2007-11-17 Thread Jean-Sebastien Delfino
[snip] Raymond Feng wrote: The spec case is slightly different as the syntax is namespace#wsdl.xxx(...). We know the # before wsdl.xxx(...) is the delimiter. [snip] 2) # is valid character for namespace, using # as the delimiter could lead to conflict. [snip] Isn't there a problem then wi

Re: How to write a simple SDO class for the tutorial?

2007-11-17 Thread Jean-Sebastien Delfino
kelvin goodson wrote: If you are discounting using XSD for the source of metadata to describe the SDO types then there is the SDO API provided for dynamic metadata creation. The sample at [1] gives an introduction to this. The paper at [2] discusses the subject also, and the program underlying t

Re: Sample dependencies not pulled in distribution

2007-11-17 Thread Jean-Sebastien Delfino
ant elder wrote: On Nov 15, 2007 3:30 PM, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: If implementation-data needs derby to be used then whats wrong with defining that as a dependency? implementation-data doesn't require derby, you should be

Re: Amazon Cart

2007-11-15 Thread Jean-Sebastien Delfino
Antollini, Mario wrote: Jean-Sebastien, I added the amazon cart to jire: https://issues.apache.org/jira/secure/attachment/12369533/tutorial-amazo n.zip Sadly, I could not get the test running, therefore I am not sure it will run properly. I committed your new module with the follow

Re: Sample dependencies not pulled in distribution

2007-11-15 Thread Jean-Sebastien Delfino
ant elder wrote: On Nov 14, 2007 9:11 PM, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: Luciano Resende wrote: Try removing the test scope from derby dependency on the implementation-data pom. Did that and it works around the problem, but it's a workaround :)

Re: Sample dependencies not pulled in distribution

2007-11-14 Thread Jean-Sebastien Delfino
Raymond Feng wrote: Hi, Are you referring to the binary distro? Yes AFAIK, the binary distro only contains artifacts under modules and their compile/runtime dependencies. Correct I think it should be individiual sample's reponsiblity to declare extra dependencies. Yes, makes sense.

Re: Sample dependencies not pulled in distribution

2007-11-14 Thread Jean-Sebastien Delfino
Luciano Resende wrote: Try removing the test scope from derby dependency on the implementation-data pom. Did that and it works around the problem, but it's a workaround :) -- Jean-Sebastien - To unsubscribe, e-mail: [EMAI

Sample dependencies not pulled in distribution

2007-11-14 Thread Jean-Sebastien Delfino
Dependencies from our samples do not seem to be pulled in the distro, unless a module under modules/ also has a runtime or compile dependency on them. For example if you build a distro containing the implementation-data module (but not containing implementation-bpel which has a compile depend

Re: Amazon Cart

2007-11-14 Thread Jean-Sebastien Delfino
Antollini, Mario wrote: Jean-Sebastien, I added the amazon cart to jire: https://issues.apache.org/jira/secure/attachment/12369533/tutorial-amazo n.zip Sadly, I could not get the test running, therefore I am not sure it will run properly. Mario, Mario E. Antollini Intel Softwa

How to write a simple SDO class for the tutorial?

2007-11-13 Thread Jean-Sebastien Delfino
The online store tutorial currently uses a simple handwritten JavaBean to represent the Items in the store catalog and shopping cart. I'm able to flow that Item bean over local calls, WS, Atom and JSON bindings. Here's what it looks like: https://svn.apache.org/repos/asf/incubator/tuscany/java/

Re: WSDL2Java usage in implementation-bpel test cases

2007-11-13 Thread Jean-Sebastien Delfino
[snip] Luciano Resende wrote: I can handle moving the BPEL unit tests to iTest as I'm currently working on the BPEL implementation. As for the build order issue, I guess we can fix that by adding wsdl2java as a dependency to the project or to the plugin. This should make wsdl2java build first

Re: WSDL2Java usage in implementation-bpel test cases

2007-11-13 Thread Jean-Sebastien Delfino
Luciano Resende wrote: How are you going to invoke the WSDL2Java class during the "generate" phase of the maven build, in order have the necessary java artifacts for compile ? Like that (untested): org.codehaus.mojo exec-maven-plugin generate-test-source generate

Re: DataBinding issues - ClassCastException

2007-11-13 Thread Jean-Sebastien Delfino
: org.apache.tuscany.sca.databinding.javabeans.JavaBean2XMLStreamReader;source=java:complexType,target=javax.xml.stream.XMLStreamReader,weight=79000 Build the databinding module. You should get the exception at the bottom of that email. Thanks. Thanks, Raymond - Original Message - From: "Jean-Sebastien De

WSDL2Java usage in implementation-bpel test cases

2007-11-13 Thread Jean-Sebastien Delfino
Modules/implementation-bpel currently uses the Tuscany maven-wsdl2java Maven plugin to generate Java interfaces for its unit test cases. It's the only module that does that. I'd like to switch it to use the WSDL2Java class directly as Maven does not seem to want to build that plugin before ru

Re: [DISCUSS] Java SCA Release 1.1 was: Re: Re: [DISCUSS] Tuscany SCA Roadmap and next releases

2007-11-13 Thread Jean-Sebastien Delfino
Simon Laws wrote: On Nov 13, 2007 4:04 PM, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: [snip] Simon Laws wrote: Now that 1.0.1 is well on the way I'd like to suggest that we start to think about our next feature release (1.1). +1 We need to decide w

Re: [DISCUSS] Java SCA Release 1.1 was: Re: Re: [DISCUSS] Tuscany SCA Roadmap and next releases

2007-11-13 Thread Jean-Sebastien Delfino
[snip] Simon Laws wrote: Now that 1.0.1 is well on the way I'd like to suggest that we start to think about our next feature release (1.1). +1 We need to decide what we want in and when we want to get the release out. Aside from the roadmap page, is there already a list with what peop

Re: Processing reference targets for remote bindings

2007-11-12 Thread Jean-Sebastien Delfino
[snip] Simon Laws wrote: Thanks for the comments. I think we are pretty close on the sequence. It may be that we differ on how this is plumbed into the infrastructure. OK I'll take a look at the code if it's already in SVN. For steps 3 and 4 I'm dealing with all of the services, references in

Updated tutorial, was: DataBinding issues - ClassCastException

2007-11-12 Thread Jean-Sebastien Delfino
[snip] Jean-Sebastien Delfino wrote: Jean-Sebastien Delfino wrote: Jean-Sebastien Delfino wrote: I'm trying to add some support for business objects to the Tutorial (instead of just flowing the catalog and cart items as strings). My business objects are simple JavaBeans with an

Re: DataBinding issues - ClassCastException

2007-11-12 Thread Jean-Sebastien Delfino
Jean-Sebastien Delfino wrote: Jean-Sebastien Delfino wrote: I'm trying to add some support for business objects to the Tutorial (instead of just flowing the catalog and cart items as strings). My business objects are simple JavaBeans with an empty constructor. I need to flow them as

Re: DataBinding issues - ClassCastException

2007-11-12 Thread Jean-Sebastien Delfino
Jean-Sebastien Delfino wrote: I'm trying to add some support for business objects to the Tutorial (instead of just flowing the catalog and cart items as strings). My business objects are simple JavaBeans with an empty constructor. I need to flow them as Java objects through local se

Re: Processing reference targets for remote bindings

2007-11-12 Thread Jean-Sebastien Delfino
Simon Laws wrote: I've started putting some code in the node implementation to allow remote bindings to make use of reference targets for identifying service endpoints. It's very simple at the moment. The node implementation uses the startComposite event as a trigger to 1/ scan all services in

Re: How WSDL2JAVA generate interfaces (Services versus PortTypes)

2007-11-12 Thread Jean-Sebastien Delfino
Luciano Resende wrote: While working with the BPEL component type implementation, I came across some WSDL files that define PortTypes, but no services. These files, when processed by Wsdl2Java tool, fails to generate any java artifacts as it looks like the code we have today only process services

Minimum support for generics in Java interface introspector

2007-11-12 Thread Jean-Sebastien Delfino
Still trying to make the Tutorial use simple business objects instead of Strings... I need to add minimum support for generics to the Java interface introspector. This will allow it to correctly introspect the Cart interface, defined as follows: @Remotable public interface Cart extends Colle

Re: [Policy Fwk Specs Relalted] Operation child element in sca:Implementation

2007-11-12 Thread Jean-Sebastien Delfino
Venkata Krishnan wrote: Hi, The PolicyFwk specs has the following : - 984 985 987 … 988 * 991 … 992 993 … 994 The xsd for 'implementation' (sca:Implementation) in the Assembly Model specs does not seem to have the element 'operation' defined as child element. Is this so

DataBinding issues - ClassCastException

2007-11-12 Thread Jean-Sebastien Delfino
I'm trying to add some support for business objects to the Tutorial (instead of just flowing the catalog and cart items as strings). My business objects are simple JavaBeans with an empty constructor. I need to flow them as Java objects through local service calls, XML (in Atom payloads) and J

At ApacheCon this week

2007-11-12 Thread Jean-Sebastien Delfino
Anyone going to ApacheCon? I'm there at the Hackathon today and will be there all week. Drop me an email if you're going to be there and want to meet! -- Jean-Sebastien - To unsubscribe, e-mail: [EMAIL PROTECTED] For addition

Re: [VOTE] Release Tuscany SCA Java 1.0.1-incubating (RC5)

2007-11-08 Thread Jean-Sebastien Delfino
Raymond Feng wrote: Hi, Please review and vote on the 1.0.1-incubating release artifacts of Tuscany SCA for Java. The RC5 contains a few fixes to issues discovered in RC4. Thank you for reporting and fixing the issues promptly. SVN Tag: http://svn.apache.org/repos/asf/incubator/tuscany/tag

Re: [VOTE] 3rd try: Release Tuscany SCA Java 1.0.1-incubating (RC4)

2007-11-06 Thread Jean-Sebastien Delfino
[snip] Simon Laws wrote: I just went through the samples that I had problems with before and they look good now. The only issue I have is that helloworld-ws-reference-jms is still in there but that's not a blocker as we can ask people to ignore it. I missed this one, +1 to remove it if we'r

Re: [VOTE] 3rd try: Release Tuscany SCA Java 1.0.1-incubating (RC4)

2007-11-06 Thread Jean-Sebastien Delfino
Raymond Feng wrote: Hi, I have to fix a few classes to get the working (with some limitations) for remote URLs. I'm not sure if we should rush this into 1.0.1. Should we just remove the WSDL and document how to get it from the internet? Thanks, Raymond +1 to not rush and just remove th

Re: Set the default port number for embedded Tomcat/Jetty server?

2007-11-06 Thread Jean-Sebastien Delfino
[snip] Simon Laws wrote: On 11/6/07, Raymond Feng <[EMAIL PROTECTED]> wrote: Hi, The itest-conversations-ws breaks the continuum build as it uses port 8080. I tried to replace the port with 8085 but I realized that it's very annoying to add the explicit URIs to all the including the service

Re: [VOTE] 3rd try: Release Tuscany SCA Java 1.0.1-incubating (RC4)

2007-11-06 Thread Jean-Sebastien Delfino
Raymond Feng wrote: The WSDL is used to access a live StockQuote web service: http://www.xmethods.net/ve2/ViewListing.po?key=uuid:52A2D109-F37A-7DE1-E66B-C477BC8FF764. Unfortunately I cannot find any license information about the WSDL. We need to figure out a better way to handle these situt

Re: [VOTE] 3rd try: Release Tuscany SCA Java 1.0.1-incubating (RC4)

2007-11-06 Thread Jean-Sebastien Delfino
Ignacio Silva-Lepe wrote: Hi JS, The binding-notification-* samples can be run in isolation via ant run. But also to run them from the command line, they assume that the ntm runs on port 8083 and so the sample that is started first needs to use that port. The sample command in the README for the

Re: [VOTE] 3rd try: Release Tuscany SCA Java 1.0.1-incubating (RC4)

2007-11-06 Thread Jean-Sebastien Delfino
Raymond Feng wrote: Hi, Please review and vote on the 1.0.1-incubating release artifacts of Tuscany SCA for Java. The RC4 contains a few fixes to issues discovered in RC3. Thank you for reporting and fixing the issues promptly. SVN Tag: http://svn.apache.org/repos/asf/incubator/tuscany/tags/

Re: Thread context classloader: Location of implementation scripts

2007-11-05 Thread Jean-Sebastien Delfino
Rajini Sivaram wrote: Hello, Implementation scripts are currently resolved by the thread context classloader. The code in org.apache.tuscany.sca.extension.helper.utils. ResourceUtil.readResource(String scriptName) is: ... //FIXME The classloader should be passed in ClassLoader cl =

Re: [DISCUSS] Evolving Implementation-data

2007-11-05 Thread Jean-Sebastien Delfino
Luciano Resende wrote: As for the delete operation, I think we should only allow deletions of a given table record and throw some exception when there is no ID provided Thoughts ? I found the ability to delete the whole collection in the table useful in the Tutorial's ShoppingCart for

Re: [DISCUSS] Tuscany SCA Roadmap and next releases

2007-11-05 Thread Jean-Sebastien Delfino
Comments and more questions :) inline. [snip] wang feng wrote: > hi Jean-Sebastien, > > Please see my comments below. > > Thanks, > wangfeng > > > On 2007-10-20, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: > > >> wang feng wrote: >

Re: [DISCUSS] Evolving Implementation-data

2007-11-05 Thread Jean-Sebastien Delfino
A few comments inline. [snip] Douglas Leite wrote: With the data being manipulated like a XmlStreamReader, I suppose that a good way to implement the update operator is use a stream that contains the modifications. Something like that: int update(XmlStreamReader modifications); Therefore, the

Moving wsdl2java to SDO project? was: Moving tool modules under java/sca/tools/

2007-11-05 Thread Jean-Sebastien Delfino
ant elder wrote: On 10/28/07, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: We currently have a bunch of tools modules under sca/modules. I'm thinking about moving them to sca/tools as follows: sca/tools/wsdl2java sca/tools/java2wsdl sca/tools/maven/maven-wsdl2java sca/tools/

Re: [NOTICE] Mark Combellack voted as Tuscany committer

2007-11-05 Thread Jean-Sebastien Delfino
ant elder wrote: The Tuscany PPMC and Incubator PMC have voted for Mark Combellack to become a Tuscany committer. Congratulations and welcome Mark! ...ant Congratulations Mark! -- Jean-Sebastien - To unsubscribe, e-

Re: How to start composites added to an already running SCANode?

2007-10-30 Thread Jean-Sebastien Delfino
ant elder wrote: On 10/30/07, Simon Laws <[EMAIL PROTECTED]> wrote: On 10/30/07, ant elder <[EMAIL PROTECTED]> wrote: On 10/30/07, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: Simon Laws wrote: On 10/30/07, ant elder < [EMAIL PROTECTED]>

Re: Effect of missing @Remotable

2007-10-30 Thread Jean-Sebastien Delfino
Simon Laws wrote: I seem to remember in the past that adding remote bindings to services with interfaces not marked as remotable used to cause and error or a warning. This cropped up in the domain manager app which defines the following component.

Re: How to start composites added to an already running SCANode?

2007-10-30 Thread Jean-Sebastien Delfino
Simon Laws wrote: On 10/30/07, ant elder <[EMAIL PROTECTED]> wrote: On 10/30/07, Simon Laws <[EMAIL PROTECTED]> wrote: On 10/30/07, ant elder <[EMAIL PROTECTED]> wrote: On 10/30/07, ant elder <[EMAIL PROTECTED]> wrote: On 10/30/07, Simon Laws <[EMAIL PROTECTED] > wro

<    2   3   4   5   6   7   8   9   10   11   >