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]