cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache CXF Documentation > SDO
Date Fri, 17 Sep 2010 20:19:00 GMT
<html>
<head>
    <base href="https://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/1810/9/1/_/styles/combined.css?spaceKey=CXF20DOC&amp;forWysiwyg=true"
type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://cwiki.apache.org/confluence/display/CXF20DOC/SDO">SDO</a></h2>
    <h4>Page  <b>added</b> by             <a href="https://cwiki.apache.org/confluence/display/~dkulp">Daniel
Kulp</a>
    </h4>
         <br/>
    <div class="notificationGreySide">
         <p>Apache CXF 2.3 added support for the <a href="http://tuscany.apache.org/sdo-java.html"
class="external-link" rel="nofollow">Tuscany</a> implementation of <a href="http://en.wikipedia.org/wiki/Service_Data_Objects"
class="external-link" rel="nofollow">Service Data Objects</a> as alternative data
binding.</p>

<h3><a name="SDO-Setup"></a>Setup</h3>
<p>By default, CXF does not ship with the Tuscany SDO jars.   You will need to acquire
them elsewhere and add them to the classpath for the SDO databinding to work.  The list of
required jars are:</p>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
backport-util-concurrent-3.0.jar
codegen-2.2.3.jar
codegen-ecore-2.2.3.jar
common-2.2.3.jar
ecore-2.2.3.jar
ecore-change-2.2.3.jar
ecore-xmi-2.2.3.jar
tuscany-sdo-api-r2.1-1.1.1.jar
tuscany-sdo-impl-1.1.1.jar
tuscany-sdo-lib-1.1.1.jar
tuscany-sdo-tools-1.1.1.jar
xsd-2.2.3.jar
</pre>
</div></div>

<h3><a name="SDO-CodeGeneration"></a>Code Generation</h3>

<p>If all the SDO required jars are available (by default, CXF does not ship them, see
above), wsld2java tool can be run with the -db sdo flag to have the code generator emit SDO
objects instead of the default JAXB objects.  The generated SEI interface will have @DataBinding(org.apache.cxf.sdo.SDODataBinding.class)
annotation on it which is enough to configure the runtime to know to use SDO.</p>
    </div>
    <div id="commentsSection" class="wiki-content pageSection">
       <div style="float: right;">
            <a href="https://cwiki.apache.org/confluence/users/viewnotifications.action"
class="grey">Change Notification Preferences</a>
       </div>
       <a href="https://cwiki.apache.org/confluence/display/CXF20DOC/SDO">View Online</a>
              |
       <a href="https://cwiki.apache.org/confluence/display/CXF20DOC/SDO?showComments=true&amp;showCommentArea=true#addcomment">Add
Comment</a>
           </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message