Hi Dennis

  Good to hear that you are trying Tuscany and think this seems like a good
choice, and I hope to be able to help, in order to make you really think
this is a good choice. Let me try to address some of your issues and
questions :

  One of the issues you mentioned was the inability to use DAS with dynamic
classes, are you talking about inability to use Dynamic SDO ? There are
lot's of testcases in DAS M2 or current DAS in trunk that does that. If you
explain what issue you were experiencing, maybe i could be of better help.

  You also mentioned that SCA, SDO and DAS did not play nicely together and
mention BigBank example, I think we discussed this before, but maybe we
never get a closure on this, I'll try to add this on the plans for a future
release to express better integration between all Tuscany components.

  As for your problem with trying to build the whole trunk in one go, and
this is a know issue, and I have proposed a fix for it that would probably
be available soon [1]. If you want to build in multiple steps, it looks like
building SDO (mvn clean install inside java/sdo) and then DAS (mvn clean
install inside java/das) works, at least for me. If you still have trouble,
please let me know, and I can provide more details...

  I hope others can give you more details on some other issues you are
experiencing or some of your other questions.

[1] - http://www.mail-archive.com/tuscany-dev%40ws.apache.org/msg16665.html


On 4/15/07, Dennis Virt <[EMAIL PROTECTED]> wrote:

Hello Tuscany People!


I'm building a prototype for a commercial product. Integration with
disparate services is one of the requirements. We need support for
disconnected data graphs via a web service with change tracking too.
Tuscany
with its SCA, SDO (and DAS because of SDO) seems like a good choice, at
least for a prototype.
I tried to start with current M2 code and encountered lots of SDO issues
(-noEMF bidirectional list property support, inability to use DAS with
dynamic classes, every data command invocation being wrapped in its own
transaction and others). Also in example I saw that SCA, SDO and DAS did
not
play nicely together yet (one used direct inserts for example in bigbank
example rather than applyChanges, standard specs described not working
yet,
like empty default binding.ws). Most of the problems seem to have been
resolved later on. I decided to try SDO M3 RC1 - most of the SDO issues
were
gone. I could use it together with DAS current snapshot and SCA M2 for
non-SDO method calls. However then I stumbled over the problem with SCA
trying to use SDO as result type:
databinding-sdo-1.0-incubator-M2-SNAPSHOT.jar was in
WEB-INF/tuscany/extensions and namespace was right (TUSCANY-991), but I
had
UnknownElementException for import.sdo in default.scdl.
So I decided to try the latest code, which is supposed to be rather mature
anyway (SCA - alpha, SDO - M3 RC1). I tried to compile all 3 frameworks in
one go (from root of Tuscany checkout) and one by one just today. No luck.
I'd appreciate if anybody could comment on the following questions:
* Would you consider Tuscany for a commercial project as yet or rather
wait
a bit?
* If yes, which branches/versions would you choose? (Considering
compliance
to some spec version an important factor too)
* How do I build a binary distribution out of current HEAD version? Or
should one rather gather the jars per hand out various target folders?
* When trying to build the frameworks one by one, I've built SDO and then
tried to build DAS, but got the errors underneath. Any clues?


Thanks in advance,

Dennis

[INFO] Building Tuscany DAS
[INFO]    task-segment: [install]
[INFO]
-------------------------------------------------------------------------
---
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing C:\Programme\Java\sdks\tuscany_head\das\pom.xml to
c:\Dokument
e und
Einstellungen\dga\.m2\repository\org\apache\tuscany\das\tuscany-das\1.0-in
cubating-SNAPSHOT\tuscany-das-1.0-incubating-SNAPSHOT.pom
[INFO]
-------------------------------------------------------------------------
---
[INFO] Building Tuscany DAS for Relational Databases
[INFO]    task-segment: [install]
[INFO]
-------------------------------------------------------------------------
---
[INFO] snapshot org.apache.tuscany.sdo:tuscany-sdo:1.0-incubator-SNAPSHOT:
check
ing for updates from codehaus-snapshot
[INFO] snapshot org.apache.tuscany:parent:2-incubator-SNAPSHOT: checking
for
upd
ates from codehaus-snapshot
[INFO] [tuscany-sdo:generate {execution: config}]
[INFO] [tuscany-sdo:generate {execution: company}]
[INFO] [tuscany-sdo:generate {execution: customer}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 112 source files to
C:\Programme\Java\sdks\tuscany_head\das\rdb
\target\classes
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure


C:\Programme\Java\sdks\tuscany_head\das\rdb\target\sdo-source\org\apache\tuscany
\das\rdb\test\customer\impl\CustomerPackageImpl.java:[15,40] cannot find
symbol
symbol  : class ModelPackageImpl
location: package org.apache.tuscany.sdo.model.impl


C:\Programme\Java\sdks\tuscany_head\das\rdb\target\sdo-source\org\apache\tuscany
\das\rdb\test\company\impl\CompanyPackageImpl.java:[16,40] cannot find
symbol
symbol  : class ModelPackageImpl
location: package org.apache.tuscany.sdo.model.impl


C:\Programme\Java\sdks\tuscany_head\das\rdb\target\sdo-source\org\apache\tuscany
\das\rdb\config\impl\ConfigPackageImpl.java:[26,40] cannot find symbol
symbol  : class ModelPackageImpl
location: package org.apache.tuscany.sdo.model.impl


C:\Programme\Java\sdks\tuscany_head\das\rdb\target\sdo-source\org\apache\tuscany
\das\rdb\test\customer\impl\CustomerPackageImpl.java:[257,20] package
ModelPacka
geImpl does not exist


C:\Programme\Java\sdks\tuscany_head\das\rdb\target\sdo-source\org\apache\tuscany
\das\rdb\test\customer\impl\CustomerPackageImpl.java:[480,4] cannot find
symbol
symbol  : class ModelPackageImpl
location: class
org.apache.tuscany.das.rdb.test.customer.impl.CustomerPackageImp
l

_________________________________________________________________
Mortgage rates near historic lows. Refinance $200,000 loan for as low as
$771/month*

https://www2.nextag.com/goto.jsp?product=100000035&url=%2fst.jsp&tm=y&search=mortgage_text_links_88_h27f8&disc=y&vers=689&s=4056&p=5117


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Luciano Resende
http://people.apache.org/~lresende

Reply via email to