Re: I wish Tuscany would bind TM to JNDI

2007-12-12 Thread shaoguang geng
the covers. Yours, Mike. shaoguang geng wrote: Hello every one: I make TM easiser, I think JNDI is the best way. Please see it that most the java environment provide 2PC TM in a JNDI infrastrusture, and most of the manageable resource such as hibernate and JPA make this work

[EMAIL PROTECTED] is one of the good solution to most of the managed resources

2007-12-12 Thread shaoguang geng
Hello every one: Boundary of Transaction is unknown to user, it means: begin and commit are held by Tuscany's runtime. But XA resources needs TM to! XA resources spread every where inside users application and might be far from Tuscany's reach. To this point, JNDI is a good way for those XA

Re: How transaction intent were applied?

2007-12-11 Thread shaoguang geng
/accounts.composite Thanks, Raymond - Original Message - From: shaoguang geng To: Sent: Monday, December 10, 2007 7:41 PM Subject: How transaction intent were applied? Hello every one: I just saw into itest/transaction, there are classes in main folder and also a definition file in main

How transaction intent were applied?

2007-12-10 Thread shaoguang geng
Hello every one: I just saw into itest/transaction, there are classes in main folder and also a definition file in main/resource. But unfortunately, I did not see how intent in the composite description were applied. Is there a explaination about this? Thanks alot.

I wish Tuscany would bind TM to JNDI

2007-12-09 Thread shaoguang geng
Hello every one: I make TM easiser, I think JNDI is the best way. Please see it that most the java environment provide 2PC TM in a JNDI infrastrusture, and most of the manageable resource such as hibernate and JPA make this work if there is a TM binded in a JNDI. To hold our TM in Tuscany's

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

Re: It seems a problem inside our json support module

2007-11-19 Thread shaoguang geng
the issue you are seeing... There has been some issues found recently, that are being fixed and/or discussed. Also, I'm assuming you are using trunk code, is this correct ? On Nov 18, 2007 10:26 PM, shaoguang geng wrote: Hi, developers: I am not farmilar with JSON before, but I 'm learing

binding-json doesn't support inward Object

2007-11-19 Thread shaoguang geng
Hello, every one: The binding-json (trunk) runs fine, but there is a very important thing I found: The test case uses a primary type as the input type. But if I use a custom type pojo, the Object got no transform! This is a very very thing need our attention. Is there any point over this? I

IMPORTANT: intention of manageable component, suggestion expected

2007-11-19 Thread shaoguang geng
There is a graph and its explain in the topic: https://issues.apache.org/jira/browse/TUSCANY-1903 I expect a disscusion amongst tuscany developers and any tuscany fans. Thanks. - Never miss a thing. Make Yahoo your homepage.

Re: binding-json doesn't support inward Object

2007-11-19 Thread shaoguang geng
the databinding framework is enhanced. [1] http://www.mail-archive.com/tuscany-dev%40ws.apache.org/msg25781.html On Nov 19, 2007 6:35 PM, shaoguang geng wrote: Hello, every one: The binding-json (trunk) runs fine, but there is a very important thing I found: The test case uses a primary type

It seems a problem inside our json support module

2007-11-18 Thread shaoguang geng
Hi, developers: I am not farmilar with JSON before, but I 'm learing it recently, since it has became a import wep applicatioin standard now. I check binding-json and databinding-json, they all seems good. But a problem came out from alert-aggregator-webapp when JSON2XMLStreamReader transform

How to build lib folder parallel to modules

2007-10-26 Thread shaoguang geng
Hello, every one: When running Ant under helloworld-ws-service (and etc.), classpath was set to ../../lib. Could some one tell me how this folder was built? __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around

missing dependence when build trunk

2007-10-09 Thread shaoguang geng
Hi, tuscany developers I could not find dependencs of version 1.1 This is the error msg: Missing: -- 1) org.apache.tuscany.sca:tuscany-host-embedded:jar:1.1-incubating-SNAPSHOT If some where (mirrors) stores the resource, just give me a clue. Thanks.

Re: missing dependence when build trunk

2007-10-09 Thread shaoguang geng
module instead of the entire. shaoguang geng [EMAIL PROTECTED] wrote: Hi, tuscany developers I could not find dependencs of version 1.1 This is the error msg: Missing: -- 1) org.apache.tuscany.sca:tuscany-host-embedded:jar:1.1-incubating-SNAPSHOT If some where (mirrors) stores the resource

Re: Transaction scenarios and test cases, was Re: I keep processing local transaction support

2007-10-08 Thread shaoguang geng
? This would probably make things much easier and would help on the integration with existing parts of the runtime. Thoughts ? Let me also think little more overnight and send a more elaborated e-mail tomorrow... On 9/25/07, shaoguang geng wrote: Hi, every one, Suggestion expected. I keep

Re: SCA Transaction Policy Draft spec published on www.osoa.org

2007-09-29 Thread shaoguang geng
Hi, I just read the article. It seems a global and local transaction got clarified and how component and service will participate in a resource management are all in concern. This article could be a bases of future design of Tuscany's transaction runtime. My suggestion and works on Tuscany's

Re: Question concerns implementation-das

2007-09-29 Thread shaoguang geng
for you. Let me know if it works for you, and if you have other questions... On 9/28/07, shaoguang geng wrote: Hi Luciano, thank you very much, Let me be further, (during debugging) I saw a service with name=DAS got instantiated (twice), but when the RuntimeSCAServiceBindingProvider started

Re: My team is constructing a chinese community focusing sca and tuscany

2007-09-28 Thread shaoguang geng
://www.osoa.org/pages/viewpage.action?pageId=416 Yours, Mike. shaoguang geng wrote: Hi, every body My team is constructing a chinese community focusing sca and tuscany. Would you like to suggest me a pretty domain name for the web host? - Don't

Question concerns implementation-das

2007-09-28 Thread shaoguang geng
Hi, every one: I have a question about implementation-das, could some one tell me WHICH InterfaceContract IS ASSIGNED to a tuscany:implementation.das/? Thanks - Luggage? GPS? Comic books? Check out fitting gifts for grads at Yahoo! Search.

Re: Question concerns implementation-das

2007-09-28 Thread shaoguang geng
=org.apache.tuscany.sca.implementation.das.company.CompanyService/ The interface looks like this : public interface CompanyService { public DataObject getCompanies(); } Please let me know if you have further questions. On 9/28/07, shaoguang geng wrote: Hi, every one: I have a question about

My team is constructing a chinese community focusing sca and tuscany

2007-09-25 Thread shaoguang geng
Hi, every body My team is constructing a chinese community focusing sca and tuscany. Would you like to suggest me a pretty domain name for the web host? - Don't let your dream ride pass you by.Make it a reality with Yahoo! Autos.

I keep processing local transaction support

2007-09-25 Thread shaoguang geng
Hi, every one, Suggestion expected. I keep processing some try on local transaction support. I want to find a place to hold a only instance of a TransactionManager in Tuscany. Tuscany uses ExtensionPointRegistries to hold those global instances, so it seems TM instance should be held the same

Why StAXArtifactProcessor inside policy-xml was commented

2007-09-25 Thread shaoguang geng
Hi, every one, Meta file: META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor was commented. Thus any xml mark like intent will not get processed? Could you please give me some clue? Thanks. - Boardwalk for $500? In

Re: [jira] Commented: (TUSCANY-1758) Web Service binding throws org.apache.axis2.AxisFault when referencing a WD

2007-09-24 Thread shaoguang geng
Hi, I made some test at my bench, I don't know wether you saw stack like namespace mismatch, If you do, please use wsdlElement and save a copy of the provider's wsdl at your classpath. Bin CRL Wang [EMAIL PROTECTED] wrote: Hi, There is no wsdl file in the test application, just using

Re: SCA JAXB related query...

2007-09-23 Thread shaoguang geng
Hi, My opinion of your request is: interact between machines on the bases of WS/wsdl is neutral of technologies. Any data binding (such JAXB) could be used by provider or client but not necessary both. The origin of a provider or client is WSDL, nothing else. And generation of code get started

Re: Writing a Mojo to generate build.xml for Tuscany application modules, was: TUSCANY-1750

2007-09-23 Thread shaoguang geng
Any way,I think Raymond has done a great thing,problem itself is nothing more than problem, but works that dig them out are always greate to flatten the road for us to keep going on? Jean-Sebastien Delfino [EMAIL PROTECTED] wrote: Raymond Feng wrote: Hi, I spent a few hours debugging this

Reply to Amita Vadhavkar's great picture

2007-09-21 Thread shaoguang geng
Hi, Amita Vadhavkar, I read your great picture, it's nice! Transaction issue is a big expectation at Tuscany. I have a suggestion over this question: I think to work on the DAS's external transaction pattern is not the best way. Infact is seem's a self control over the datasource/connection;

a brief UML about my suggestion to Amita's transaction design

2007-09-21 Thread shaoguang geng
Hi, Amita: I attach a brief suggest to local transaction handling in an uml picture. I wish I could do some thing for your great design. - Yahoo! oneSearch: Finally, mobile search that gives answers, not web links.

Is there mirrors I should config when I build trunk?

2007-09-20 Thread shaoguang geng
Hello, every one, Building the trunk always got missing failure of version 1.1-incubating-SNAPSHOT, is there any mirrors I should add to my maven? Thanks alot. - Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories

Re: Why implementation-osgi does not work?

2007-09-19 Thread shaoguang geng
the samples against the latest build? Thank you... Regards, Rajini On 9/19/07, shaoguang geng wrote: Thank you for you replies: The mvn build in branch/sca-java-1.0/samples/osgi-supplychain out put as in the attached file. *Rajini Sivaram * wrote: Hi, implementation.osgi and its sample

Why implementation-osgi does not work?

2007-09-18 Thread shaoguang geng
Hi, could some one tell me shortly what's going on with osgi, I was once run it with supplychain, but for a couple of days, svn code just does not work any more, I tried it with branch 1.0, not too. Thanks - Fussy? Opinionated? Impossible to please?

Re: Why implementation-osgi does not work?

2007-09-18 Thread shaoguang geng
Hi, Raymond, I just want to know wether this module is under construction. Or I may wait for a mile stone to see in. Raymond Feng [EMAIL PROTECTED] wrote: Hi, What problem are you seeing? Stacktrace in JIRA will be appreciated. Thanks, Raymond - Original Message - From: shaoguang

Re: Why implementation-osgi does not work?

2007-09-18 Thread shaoguang geng
or stack trace for the failure you are seeing? Thank you... Regards, Rajini On 9/18/07, shaoguang geng wrote: Hi, Raymond, I just want to know wether this module is under construction. Or I may wait for a mile stone to see in. Raymond Feng wrote: Hi, What problem are you seeing

Re: Fwd: uri of binding.ws should be used restrictedly

2007-09-12 Thread shaoguang geng
elder Date: Sep 12, 2007 8:46 AM Subject: Re: uri of binding.ws should be used restrictedly To: [EMAIL PROTECTED] On 9/12/07, shaoguang geng wrote: Hello every one, uri attribute of is much convenient to attach a WS in. But it works only within a few circumstances, such as another java

Re: Java2WSDL output for no parameters or void return type?

2007-09-11 Thread shaoguang geng
Hi Simon, Did I understand you well: 2 way and 1 way is by differences of input parameter? If you mean this, my suggestion would be: usually developers design WS as query/response. This has been a usual. To support query only and response only WS is not really important for Tuscany. Simon

Tuscany talk to jaxws correctly with axis21.3

2007-09-10 Thread shaoguang geng
Hi, every I wish my experiment will denote some value. It is clear at my work bench that Tuscany references a jaxws's service nicely with Axis2-1.3. Axis2-1.2 NOT. - Need a vacation? Get great deals to amazing places on Yahoo! Travel.

My experiment over jaxws-tuscany talking

2007-09-10 Thread shaoguang geng
Hi, my last letter about jaxws was replied by someone, but I deleted it just before I went home. So I forget the one I should say hello, sorry. Here is what I did shortly: I run the JAXWS2.0 samples in a VM. I run Tuscany svn code in another. I use referencebinding.ws uri=[uri of the ws

Re: My experiment over jaxws-tuscany talking

2007-09-10 Thread shaoguang geng
I forgot something here: the service Interface I declared below must be in a package according to the remote wsdl. For example namespace http://duck.org implies to package org.duck shaoguang geng [EMAIL PROTECTED] wrote: Hi, my last letter about jaxws was replied by someone, but I deleted

Errors in java-wsdl generation process fixed

2007-08-25 Thread shaoguang geng
Hi, everyone I tried lasted svn code at Friday, I noticed java2wsdl generation was added when binding.ws is used under a component. Compile on my computer goes well with axis2-1.2, but I found a error at wsdl generation(I post a mail at Friday). I check it over and finally it worked with

Re: Exception running the binding-notification-producer sample

2007-08-24 Thread shaoguang geng
Good weekend, I met the same error. Is someone working on this problem? If not, I may deal with on monday. Ignacio Silva-Lepe [EMAIL PROTECTED] wrote: I am getting the following exception trying to run the binding-notification- producer sample and trying to send a message to a

Re: Adding the distributed runtime artifacts to the distribution

2007-08-23 Thread shaoguang geng
Hi Simon, I'm very interesting in Tuscany's distributed model. And I'm sure this would be very important to Tuscany's future. Ok, now, I'm not sure my debugging currect is all correct, but upto now, I'm in error of java2wsdl process. Are you doing thing on this error, or shall I do something

Reason changed instantiation of javax.xml.stream.XMLInputFactory

2007-08-22 Thread shaoguang geng
Hello every body, 2 days ago, I inquired why inside class ReallySmallRuntimeBuilder method createContributionService(...), instantiation of javax.xml.stream.XMLInputFactory has been changed form XMLInputFactory xmlFactory = XMLInputFactory.newInstance(); to XMLInputFactory xmlFactory =

Updates on ReallySmallRuntimeBuilder.createContributionService?

2007-08-20 Thread shaoguang geng
Hi, everybody. I checked out the latest code today (567518). Gone over the new code, a question came to me. class: ReallySmallRuntimeBuilder method: createContributionService has changed at its beginning from = XMLInputFactory.newInstance() to =

Re: Move up to Axis2 1.3?

2007-08-17 Thread shaoguang geng
Axis2 1.3 has mentioned that this is a performance and bug fix update. Any axis2 user gets no infection to their code. Another point: At Tuscany side, any update of axis2 just affects inside Tuscany, user code is standard based. To those WS referenced by composites, they are interacted on

I think Tuscany needs a graph generator for composite layouts

2007-08-12 Thread shaoguang geng
as the title, when composite contents comes more and more complicated, a layout graph generator would do greate help to developers. Or did some one see commercial providers of such a grapher? Good day. - Building a website is a piece of cake. Yahoo!

Re: 1 more new component instance per request?

2007-08-12 Thread shaoguang geng
Great help, thank you very much. You realy make me a litte uneasy: I need to give more time to spec analyzation. Simon Laws [EMAIL PROTECTED] wrote: On 8/9/07, shaoguang geng wrote: Today, I found in respond to each request, Tuscany instantiate new one class for each. I tried binding.ws

calculator-distributed doesn't work

2007-08-08 Thread shaoguang geng
Hi, I run calculator-distributed from today's svn code, but found it doesn't work. Since it is very new to Tuscany, I would like asking the designer of distributed runtime if latest design is on the fly. Or it is expecting solution from all the developers. Nice day.

1 more new component instance per request?

2007-08-08 Thread shaoguang geng
Today, I found in respond to each request, Tuscany instantiate new one class for each. I tried binding.ws, it works as well. SCA1.0 does not specify instance management of a component, but I remember J2EE does not mentioned such things for EJB and servlet, it should be managed by the

name of a service

2007-08-03 Thread shaoguang geng
Just now, I found that the service name=[name], name here must equal to the java interface's name, as well the service's name of WSDL, other wise, we just see NullPointerException. I would suggest generate a guiding Exception, to tell the developer this rule of defining a service.

A small question about attaching files

2007-07-30 Thread shaoguang geng
Hi,Raymond: Since you mentioned my attachment format(rar I used). I will have to explain shortly, I just felt zip is bigger. I examed some file compression method today. Then can I suggest that we may use some other format such *.7z which is much more tiny. Of course if only zip is permitted in

Visitor pattern is not used in Tuscany's core design

2007-07-25 Thread shaoguang geng
I analysed component model object in tuscany. Here my question is: all the component model object has implemented interface [org.apache.tuscany.sca.assembly.Visitable]. But in fact the [accept] method are never invoked. More of it, there is a [Visitor] interface, but nobody implements it. My

Why SCA10 specify interface.java

2007-07-25 Thread shaoguang geng
In SCA java component implementation 1.0, most of the spec was telling the story about interface.java interface=[interface name]. But in fact implementation.java class=[class name]/ has done every thing. Dose osoa mean: using interface.java the interface MAY NOT BE an interface of the

Re: An idea for WS Reference

2007-07-25 Thread shaoguang geng
with the WSDL file. There is no easy way around this, but the SCA runtime can at least check for compatibility and raise a fault if they do not match. Yours, Mike. shaoguang geng wrote: WS consumer will have to put a wsdl file in it class root, the SCADomain load it automaticly. But this brings

Re: An idea of WS Service address

2007-07-24 Thread shaoguang geng
where random(not according to the soap:address's). ant elder [EMAIL PROTECTED] wrote: On 7/18/07, shaoguang geng wrote: When I work on the svn code, I found that the service address of a binding.ws depends on it's uri attribute, not the inside the wsdl file. If the is some thing different

An idea for WS Reference

2007-07-17 Thread shaoguang geng
WS consumer will have to put a wsdl file in it class root, the SCADomain load it automaticly. But this brings a problem if the provider's wsdl changed. So first I think if the consumer could load the wsdl from http://[host]:[port]/[servicename]?wsdl,. There by, when debug the wsdl, the

An idea of WS Service address

2007-07-17 Thread shaoguang geng
When I work on the svn code, I found that the service address of a binding.ws depends on it's uri attribute, not the soap:address inside the wsdl file. If the soap:address is some thing different from the binding.ws's uri, or it does not exists absolutely, the client will get a confusion form

Re: [jira] Resolved: (TUSCANY-1411) JDKInvocationHandler works wrong when a component references more than one WS

2007-07-16 Thread shaoguang geng
Hi Raymond, After re-investigated the code, it means to me not a bug in fact, sorry for my bugging shout. But there is something should be noticed: for sample ws-ref/ws-service, the client component class implemented a interface or two, This demostration is not right! Client generic

A design question about visitor pattern in Tuscany

2007-07-13 Thread shaoguang geng
I found that there is a Visitable interface, and almost all the classes of the composite-component model have implemented this interface. So it seems a Visitor Pattern applied. But in fact, it is just a un-finished work, the pattern is never used, no implement of Visitor interface. Those