Re: Getting started with Tuscany databinding

2007-04-10 Thread Raymond Feng
Hi, There is a slide at http://svn.apache.org/repos/asf/incubator/tuscany/java/sca/doc/tuscany.databinding.ppt. It's not up-to-date but it will provide you some basic ideas. I have started a document-in-progress @ http://cwiki.apache.org/confluence/display/~rfeng/Tuscany+Databinding. Thank

Re: Component types and loading them

2007-04-10 Thread Jean-Sebastien Delfino
Jean-Sebastien Delfino wrote: Ignacio Silva-Lepe wrote: Ok, so to try to answer my own question, it looks like the implementation loader can use a ComponentTypeDocumentProcessor (passing itself in the constructor) and then calling read with the URL of the component type side file. Does this sou

Re: Tuscany Hello World Async Sample

2007-04-10 Thread muhwas
Again, I found that i can run this sample successfully from home but when i try to run this in office i am getting following exception. In office i connet to internet through proxy and i have proxy server setting in maven setting.xml I can succesfully build but when i try to deploy to tomcat i get

Re: svn commit: r527378

2007-04-10 Thread Jean-Sebastien Delfino
I apologize for the big commit. caused by the refactoring listed below. I had initially started the moves and renames with a series of svn mv and svn copy which would have generated a much smaller change set but then my svn became all messed up complaining about errors in working copies and bei

Re: Working sample with the new modularized runtime, was: svn commit: r527074

2007-04-10 Thread Luciano Resende
Revision #527359 have the implementation-crud as a sample application now. I'm working on getting echo-binding and echo-databinding updated and working as well. On 4/10/07, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: [EMAIL PROTECTED] wrote: > Author: jsdelfino > Date: Tue Apr 10 02:57:00

Re: Question on ModelObject for binding extension

2007-04-10 Thread Jean-Sebastien Delfino
Pamela Fong wrote: If I choose to use EMF to generate a model to represent my extended SCDL schema, I would also need to generate EMF model to represent sca-core.xsdsince the binding schema extends from the core schema. So I would end up packaging two generated packages within one binding extensi

Re: Question on naming the scdl file

2007-04-10 Thread Jean-Sebastien Delfino
Pamela Fong wrote: Hi, Is it a requirement that scdl file must be named "default.scdl"? Any exception if so? -pam No, and actually the recommended names for SCA assembly XML files are: .composite, .componentType and .constrainingType. Here are the relevant extracts from the SCA assembly sp

Question on naming the scdl file

2007-04-10 Thread Pamela Fong
Hi, Is it a requirement that scdl file must be named "default.scdl"? Any exception if so? -pam

Getting started with Tuscany databinding

2007-04-10 Thread Pamela Fong
Hi, Can someone provide some pointers on Tuscany databinding. It's not mentioned in the WIKI site and searching in the email archive doesn't seem to yield anything. Is there any writeup, sample code that could help people new in this area to get up-to-speed quickly? Thanks. -pam

Re: Question on ModelObject for binding extension

2007-04-10 Thread Pamela Fong
If I choose to use EMF to generate a model to represent my extended SCDL schema, I would also need to generate EMF model to represent sca-core.xsdsince the binding schema extends from the core schema. So I would end up packaging two generated packages within one binding extension. Someone else com

Re: Component types and loading them

2007-04-10 Thread Jean-Sebastien Delfino
Ignacio Silva-Lepe wrote: Ok, so to try to answer my own question, it looks like the implementation loader can use a ComponentTypeDocumentProcessor (passing itself in the constructor) and then calling read with the URL of the component type side file. Does this sound ok? This can work, but the

Re: "What is SDO?" article, Part 2

2007-04-10 Thread haleh mahbod
kelvin, I had added the older article to this page as part of website work. http://cwiki.apache.org/TUSCANY/sdo-overview.html You may want to add the next in the series to the same page. Haleh On 4/10/07, kelvin goodson <[EMAIL PROTECTED]> wrote: Part 2 of Geoff's and my article on "What is

Re: Component types and loading them

2007-04-10 Thread Ignacio Silva-Lepe
Ok, so to try to answer my own question, it looks like the implementation loader can use a ComponentTypeDocumentProcessor (passing itself in the constructor) and then calling read with the URL of the component type side file. Does this sound ok? On 4/10/07, Ignacio Silva-Lepe <[EMAIL PROTECTED]>

Re: Question on ModelObject for binding extension

2007-04-10 Thread Jean-Sebastien Delfino
Pamela Fong wrote: Hi, I read the article "Extending Tuscany by contributing a new implementation / binding type" by Raymond and Jeremy. Got a question about the definition of ModelObject. The example in the article is a very simple java bean-like object. This is fine if all we have to deal w

Component types and loading them

2007-04-10 Thread Ignacio Silva-Lepe
How is this supposed to work now? Previously, an implementation loader had the option of asking the loader registry to load a component type from a side file, and then it was able to downcast the returned component type to an extension-specific component type. Since a component type's file is a s

Re: Assembly Question - Property interface hierarchy

2007-04-10 Thread Venkata Krishnan
Ok... this makes sense to me... I'll go ahead and make this change. Thanks :) - Venkat On 4/10/07, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: Venkata Krishnan wrote: > Hi, > > In the Assembly module can I change the Property interface hierarchy as > follows: > > - Have ComponentPropert

Tuscany Hello World Async Sample

2007-04-10 Thread muhwas
Hi guys, I am trying to run HelloWorld Async Sample. I was able to successffully build the sample. But when i am trying to deploy it on tomcat 5.5.17 I am getting following exception org.apache.tuscany.runtime.webapp.ServletLauncherInitException: org.apache.tuscany.spi.component.TargetException:

Re: Basic SDO question: no built-in types?

2007-04-10 Thread Ole Ersoy
Kelvin, Brilliant article. Just in time too :-). It will really come in handy when I start coding the "Restore DataObject MetaData" part of the LDAP DAS. Thanks again, - Ole kelvin goodson wrote: Ole, glad to be of help. I was a bit worried that the different perspectives from which Frank

Re: Assembly Question - Property interface hierarchy

2007-04-10 Thread Jean-Sebastien Delfino
Venkata Krishnan wrote: Hi, In the Assembly module can I change the Property interface hierarchy as follows: - Have ComponentProperty extend from AbstractProperty instead of Property. - Move the 'defaultValue' accessors into 'Property' from AsbtractProperty - Introduce accessors for 'value' i

Re: Basic SDO question: no built-in types?

2007-04-10 Thread kelvin goodson
Ole, glad to be of help. I was a bit worried that the different perspectives from which Frank and I responded might cause confusion, but you seem to be happy marrying the two responses together. Just to be clear, from the SDO perspective, in the context we are discussing the EPackage does 2 o

Re: Basic SDO question: no built-in types?

2007-04-10 Thread Ole Ersoy
Kelvin, Frank, Great - Thanks for all the insight. I wrote most of the DAS LDAP Design Guide using references to EMF concepts, so I'll start using this to convert over. Thanks again, - Ole kelvin goodson wrote: Ole, the HelperContext acts as a high level scope for types. To create types dy

"What is SDO?" article, Part 2

2007-04-10 Thread kelvin goodson
Part 2 of Geoff's and my article on "What is SDO?" has just appeared on the JDJ website. http://java.sys-con.com/read/358059.htm (if in an quiet space you might like to hit your mute button before following the link) It was a while ago that we put this together, and its taken a bit of a while

Re: Basic SDO question: no built-in types?

2007-04-10 Thread Frank Budinsky
SDO doesn't have an EPackage-like object, but the URI of a Type represents the same concept. You effectively add a type to a package by calling TypeHelper.define() with a type who's URI represents the package that you want it to be in. Frank. Ole Ersoy <[EMAIL PROTECTED]> wrote on 04/09/2007 0

Re: [jira] Updated: (TUSCANY-800) Introduce new DAS Sample APP to demonstrate DAS advanced features

2007-04-10 Thread Luciano Resende
Hi Amita It's really good to see mor eprogress on this area. I have two comments : There is a word document describing changes and some functionality of the sample, it's probably better to have these inside a readme.html as all other samples are doing. Also, it's really interesting to have a pa

[DAS] Automatically Creating sample canned databases

2007-04-10 Thread Luciano Resende
Hi Amita Today, we have couple of DAS sample applications (companyWeb, customer, das-service) and they mostly rely on same set of databases table and the solution we have today is to have the actual derby canned db checked in and copied when it need to be used. This per si is a problem, but als

[jira] Commented: (TUSCANY-1181) XSDSerializationTest is Tuscany-specific

2007-04-10 Thread Dan Murphy (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12487795 ] Dan Murphy commented on TUSCANY-1181: - Hi Kelvin... I don't have Tortoise SVN (since I run linux) so I'm not su

Re: Basic SDO question: no built-in types?

2007-04-10 Thread kelvin goodson
Ole, the HelperContext acts as a high level scope for types. To create types dynamically using the SDO 2.1 API you would get the TypeHelper instance from a HelperContext instance and use one of the TypeHelper.define methods to create types within the scope of the HelperContext. There is also T

[jira] Updated: (TUSCANY-800) Introduce new DAS Sample APP to demonstrate DAS advanced features

2007-04-10 Thread Amita Vadhavkar (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Amita Vadhavkar updated TUSCANY-800: Attachment: sample-ajax-das-1.0-incubator-SNAPSHOT.war AjaxDASWebSample.doc

Assembly Question - Property interface hierarchy

2007-04-10 Thread Venkata Krishnan
Hi, In the Assembly module can I change the Property interface hierarchy as follows: - Have ComponentProperty extend from AbstractProperty instead of Property. - Move the 'defaultValue' accessors into 'Property' from AsbtractProperty - Introduce accessors for 'value' in ComponentProperty. Right

[jira] Resolved: (TUSCANY-1205) An exception was thrown when reading a large Java object back to DataObject

2007-04-10 Thread Frank Budinsky (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Frank Budinsky resolved TUSCANY-1205. - Resolution: Fixed Fix Version/s: Java-SDO-M3 Committed revision 527109. > An e

Re: Resumption of Weekly IRC ?

2007-04-10 Thread kelvin goodson
I too will try to be around more on IRC. The ChatZilla client embedded in Firefox doesn't lend itself to auto startup, so I have got out of the habit. Perhaps I should change my client, any recommendations for one that would keep me true as a Windows user? Kelvin. On 03/04/07, Bert Lamb <[EMAI

Re: {SDO C++] Untangling the graph without access violations

2007-04-10 Thread Pete Robbins
Patch applied. Looks ok to me. Thanks. On 10/04/07, Pete Robbins <[EMAIL PROTECTED]> wrote: I'll take a look at this. On 05/04/07, Caroline Maynard <[EMAIL PROTECTED]> wrote: > > Memory leaks are a major concern for PHP users in a long-running web > server. > For some time we've had a proble

Working sample with the new modularized runtime, was: svn commit: r527074

2007-04-10 Thread Jean-Sebastien Delfino
[EMAIL PROTECTED] wrote: Author: jsdelfino Date: Tue Apr 10 02:57:00 2007 New Revision: 527074 URL: http://svn.apache.org/viewvc?view=rev&rev=527074 Log: Ported the Calculator sample to the latest APIs. Adjusted its pom to the new modules. The Calculator sample is now working with the new

Can tuscany M2 support hierarchy structure?

2007-04-10 Thread Hu hao
Hi , The default.scdl in the application: http://www.osoa.org/xmlns/sca/1.0";name="SCAImplHello"> default.scdl in HelloComposite1.jar http://www.osoa.org/xmlns/sca/1.0"; name="HelloComposite1"> HelloComponent1 de

Re: {SDO C++] Untangling the graph without access violations

2007-04-10 Thread Pete Robbins
I'll take a look at this. On 05/04/07, Caroline Maynard <[EMAIL PROTECTED]> wrote: Memory leaks are a major concern for PHP users in a long-running web server. For some time we've had a problem that we cannot reliably drop a datagraph because of various access violations which may occur, depend