This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes Service Data Object (SDO) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Service Data Object (SDO)" Watch "Service Data Object (SDO)" New topic
Author

Service Data Object (SDO)

Chris as
Greenhorn

Joined: Mar 08, 2006
Posts: 5
Hello,

i need a simple sample for SDO. Yes, there are samples on the net, but the samples are generating a DataGraph manually. I need one, reading an XML Schema creating a DataGraph after that it should read a XML file and load it into the Datagraph automatically. After that, i will access every DataObject.

I found some samples which uses XMLHelper and other, but I think im too stupid for , it doesn�t work. I use the SDO API source. The compile is right! There is no HelperProviderImpl!

Allways the same exception after i compiled it.



How should this class look like? Any Ideas?

In the end, a small sample with the right API would be great! THX

Christoph
Chris as
Greenhorn

Joined: Mar 08, 2006
Posts: 5
I found the answer! Its so stupid...I tried to work with EMF and SDO 2.0!


EMF only supports SDO 1.0. For that refer to the documents here:

http://www.eclipse.org/emf/docs.php#sdo

SDO 2.0 work is happening at Apache. For that go here:

http://incubator.apache.org/tuscany/
mukta darera
Greenhorn

Joined: Apr 25, 2006
Posts: 1
hey, i am trying to do the same thing now, and i got stuck at exactly the same place- the class wasn't found. how did you eventually work your way around it?
Chris as
Greenhorn

Joined: Mar 08, 2006
Posts: 5
I don�t know, why it work, but i created the Model by EMF and got the Object by SDO and EMF. But in the end i only worked with the EMF construct. It is easier to get the objects by setter and getter classes, instead of hardcoded Strings.

Here is some Code i used to get my Project work:



After that, you are able to access the Objects by EMF or SDO.


Accessing Object:




Perhaps it helped you....
I got the Problem, that i had to cast very mutch in my function, like you can see at EMF:name.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Service Data Object (SDO)
 
Similar Threads
Installed applications disappear!
SDO From BEA
Service Data Objects?
Junit For testing SAX API
IBM and BEA Joint specification on SDO Exit!!!!!!!!!!!