Hi Michael Support for J2SE connections was introduced post M2, you could use our pre-Release Candidate available at [1] or checkout trunk and build DAS artifacts from there. There is also a sample demonstrating usage of DAS in a J2SE environment [2]
As for using Static SDO, you could start with our User Guide, and see if that can get you initiated on using it [3], there are couple test cases that use static SDOs, that you could use as a reference. [1] http://people.apache.org/~lresende/tuscany/das-beta1-distribution/ [2] https://svn.apache.org/repos/asf/incubator/tuscany/java/das/samples/customer/ [3] http://incubator.apache.org/tuscany/workingwithstaticdataobjects.html On 6/28/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi, I want to use RDB DAS in my J2SE Application but I miss the ConnectionProperties type in the config.xsd (das-1.0-incubator-M2-src). Is this (http://incubator.apache.org/tuscany/connection-support-for-j2se-environ ment.html) sample not any longer supported? <ConnectionInfo> <ConnectionProperties driverClass="com.mysql.jdbc.Driver" databaseURL="jdbc:mysql://localhost:3306/test" userName="xxx" password="xxx" loginTimeout="600000"/> </ConnectionInfo> Exception in thread "main" java.lang.RuntimeException: org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Feature 'ConnectionProperties' not found. (http:///temp.xml, 10, 30) at org.apache.tuscany.das.rdb.util.ConfigUtil.loadConfig(ConfigUtil.java:54 ) Another Question: I want to work with static data objects but I have no idea what I have to do to create a Factory and how I have to implement the static classes. Where do I find a complete example? Thanks in advance, Michael --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Luciano Resende Apache Tuscany Committer http://people.apache.org/~lresende http://lresende.blogspot.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]