apache-tuscany/site/trunk/site-publish/rdb-das-user-guide.html
2014-11-21 09:30:19 +00:00

185 lines
12 KiB
HTML
Raw Permalink Blame History

<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE- 2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML>
<HEAD>
<!-- generateKeywords macro -->
<META name="description" content="Apache Tuscany">
<META name="keywords" content="apache, apache tuscany, tuscany, service, services, fabric, soa, service oriented architecture, sca, service component architecture, das, sdo, csa, ruby, opensource">
<!-- generateKeywords macro end -->
<LINK type="text/css" rel="stylesheet" href="http://tuscany.apache.org/stylesheets/default.css">
<LINK rel="SHORTCUT ICON" href="https://cwiki.apache.org/confluence/display/TUSCANY/$images/favicon.ico">
<TITLE>Apache Tuscany : RDB DAS - User Guide</TITLE>
<META http-equiv="Content-Type" content="text/html;charset=UTF-8"></HEAD>
<BODY onload="init()">
<!-- topNav macro -->
<TABLE valign="top" border="0" cellspacing="0" cellpadding="0" width="100%" background="http://tuscany.apache.org/images/TuscanyLogoNEW_Text_120px_bg.jpg">
<TR>
<TD valing="top" align="left">
<A href="https://cwiki.apache.org/confluence/pages/viewpage.action?spaceKey=TUSCANY&title=$siteroot"><IMG src="http://tuscany.apache.org/images/TuscanyLogoNEW_Text_120px_bg.jpg" height="91" width="25" border="0"></A>
</TD>
<TD>
<A href="http://tuscany.apache.org/"><IMG src="http://tuscany.apache.org/images/TuscanyLogo.jpg" border="0"></A>
</TD>
<TD width="100%">
&nbsp;
</TD>
<!-- Adds the edit page link to the top banner-->
<TD valign="bottom">
<DIV style="padding: 2px 10px; margin: 0px;">
<A href="https://cwiki.apache.org/confluence/pages/editpage.action?pageId=52724">
<IMG src="http://tuscany.apache.org/images/notep_16.gif" height="16" width="16" border="0" align="absmiddle" title="Edit Page"></A>
</DIV>
</TD>
</TR>
</TABLE>
<!-- topNav macro end -->
<!-- breadCrumbs macro -->
<TABLE border="0" cellpadding="2" cellspacing="0" width="100%">
<TR class="topBar">
<TD align="left" valign="middle" class="topBarDiv" nowrap="true" width="100%">
&nbsp;<A href="home.html" title="Apache Tuscany">Apache Tuscany</A>&nbsp;&gt;&nbsp;<A href="home.html" title="Home">Home</A>&nbsp;&gt;&nbsp;<A href="das-overview.html" title="DAS Overview">DAS Overview</A>&nbsp;&gt;&nbsp;<A href="das-java.html" title="DAS Java">DAS Java</A>&nbsp;&gt;&nbsp;<A href="das-java-documentation-menu.html" title="DAS Java Documentation Menu">DAS Java Documentation Menu</A>&nbsp;&gt;&nbsp;<A href="das-java-developer-guide.html" title="DAS Java Developer Guide">DAS Java Developer Guide</A>&nbsp;&gt;&nbsp;<A href="rdb-das-java.html" title="RDB DAS Java">RDB DAS Java</A>&nbsp;&gt;&nbsp;<A href="" title="RDB DAS - User Guide">RDB DAS - User Guide</A>
</TD>
<TD align="right" valign="middle" class="topBarDiv" align="left" nowrap="true">
<A href="http://mail-archives.apache.org/mod_mbox/tuscany-user">User List</A> | <A href="http://mail-archives.apache.org/mod_mbox/tuscany-dev">Dev List</A> | <A href="http://issues.apache.org/jira/browse/Tuscany">Issue Tracker</A>&nbsp;&nbsp;
</TD>
</TR>
</TABLE>
<!-- breadCrumbs macro end -->
<TABLE border="0" cellpadding="0" width="100%" bgcolor="#FFFFFF">
<TR>
<TD align="left" valign="top">
<!-- pageContent macro -->
<DIV id="PageContent">
<DIV class="pagecontent">
<DIV class="wiki-content">
<TABLE class="sectionMacro" border="0" cellpadding="5" cellspacing="0" width="100%"><TBODY><TR>
<TD class="confluenceTd" valign="top" width="15%">
<DIV class="panel" style="background-color: #ECF4D1;border-color: #C3CDA1;border-style: solid;border-width: 1px;"><DIV class="panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;border-bottom-color: #C3CDA1;background-color: #C3CDA1;"><B>General</B></DIV><DIV class="panelContent" style="background-color: #ECF4D1;">
<P><A href="home.html" title="Home">Home</A><BR>
<A href="http://www.apache.org/licenses/LICENSE-2.0.html" class="external-link" rel="nofollow">License </A><BR>
<A href="das-java-get-involved.html" title="DAS Java Get Involved">Get Involved</A><BR>
<A href="das-java-found-a-bug.html" title="DAS Java Found A Bug">Found a Bug?</A></P>
</DIV></DIV>
<DIV class="panel" style="background-color: #ECF4D1;border-color: #b4b4b5;border-style: solid;border-width: 1px;"><DIV class="panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;border-bottom-color: #b4b4b5;background-color: #C3CDA1;"><B>DAS Java</B></DIV><DIV class="panelContent" style="background-color: #ECF4D1;">
<P><A href="das-java.html" title="DAS Java">DAS Java Home</A><BR>
<A href="das-java-faq.html" title="DAS Java - FAQ">FAQ</A><BR>
<A href="das-java-releases.html" title="DAS Java Releases">Downloads</A><BR>
<A href="das-java-documentation-menu.html" title="DAS Java Documentation Menu">Documentation</A><BR>
<A href="https://svn.apache.org/repos/asf/tuscany/java/das/" class="external-link" rel="nofollow">Source Code</A></P>
</DIV></DIV></TD>
<TD class="confluenceTd" valign="top" width="85%">
<H1><A name="RDBDAS-UserGuide-Tuscany%2FTuscanyJava%2FDASJavaOverview%2FRDBDASJavaUserGuide"></A>Tuscany/TuscanyJava/DAS Java Overview/RDBDAS Java User Guide</H1>
<H2><A name="RDBDAS-UserGuide-Introduction"></A>Introduction</H2>
<P>&nbsp;&nbsp;&nbsp; This Guide provides user-level information describing the capabilities of the RDB DAS.</P>
<H2><A name="RDBDAS-UserGuide-Concepts"></A>Concepts</H2>
<P>&nbsp;&nbsp;&nbsp; This section provides an overview of several main concepts that are key to understanding and working with the RDB DAS.</P>
<UL>
<LI><A href="conventionoverconfiguration.html" title="ConventionOverConfiguration">ConventionOverConfiguration</A></LI>
<LI><A href="changesummaryprocessing.html" title="ChangeSummaryProcessing">ChangeSummaryProcessing</A></LI>
<LI><A href="writeoperationordering.html" title="WriteOperationOrdering">WriteOperationOrdering</A></LI>
<LI><A href="partialupdate.html" title="PartialUpdate">PartialUpdate</A></LI>
<LI><A href="resultsetdrivendataobjecttypes.html" title="ResultSetDrivenDataObjectTypes">ResultSetDrivenDataObjectTypes</A></LI>
<LI><A href="optimisticconcurrencycontrol.html" title="OptimisticConcurrencyControl">OptimisticConcurrencyControl</A></LI>
<LI><A href="foreignkeyrepresentationandmanagement.html" title="ForeignKeyRepresentationAndManagement">ForeignKeyRepresentationAndManagement</A></LI>
</UL>
<H2><A name="RDBDAS-UserGuide-Capabilities%28Howto%29"></A>Capabilities (How to)</H2>
<UL>
<LI><A href="workingwithbasiccrud.html" title="WorkingWithBasicCrud">WorkingWithBasicCrud </A>&#45; Reading and writing to the database</LI>
<LI><A href="workingwithoptimisticconcurrencycontrol.html" title="WorkingWithOptimisticConcurrencyControl">WorkingWithOptimisticConcurrencyControl</A></LI>
<LI><A href="workingwithgenerateddatabasekeys.html" title="WorkingWithGeneratedDatabaseKeys">WorkingWithGeneratedDatabaseKeys</A></LI>
<LI><A href="configurable-database-generated-keys-support.html" title="Configurable database generated keys support">Configurable database generated keys support</A></LI>
<LI><A href="workingwithstoredprocedures.html" title="WorkingWithStoredProcedures">WorkingWithStoredProcedures</A></LI>
<LI><A href="workingwithrelationships.html" title="WorkingWithRelationships">WorkingWithRelationships</A></LI>
<LI><A href="workingwithconventions.html" title="WorkingWithConventions">WorkingWithConventions</A></LI>
<LI><A href="workingwithtransactions.html" title="WorkingWithTransactions">WorkingWithTransactions</A></LI>
<LI><A href="workingwithcolumnconverters.html" title="WorkingWithColumnConverters">WorkingWithColumnConverters</A></LI>
<LI><A href="workingwithpaging.html" title="WorkingWithPaging">WorkingWithPaging</A></LI>
<LI><A href="workingwithstaticdataobjects.html" title="WorkingWithStaticDataObjects">WorkingWithStaticDataObjects</A></LI>
<LI><A href="workingwithcompoundkeys.html" title="WorkingWithCompoundKeys">WorkingWithCompoundKeys</A></LI>
<LI><A href="workingwithnamemapping.html" title="WorkingWithNameMapping">WorkingWithNameMapping </A>(aliasing)</LI>
<LI><A href="tuscanytuscanyjavadas-java-overviewimproved-logging.html" title="Tuscany.TuscanyJava.DAS Java Overview.Improved logging">Logging</A></LI>
<LI><A href="explicit-createupdatedelete.html" title="Explicit CREATE,UPDATE,DELETE">Explicit CREATE,UPDATE,DELETE</A></LI>
<LI><A href="explicit-resultset-shape-definition.html" title="Explicit ResultSet shape definition">Explicit ResultSet shape definition</A></LI>
<LI><A href="graph-merge.html" title="Graph Merge">Graph Merge</A></LI>
<LI><A href="connection-support-for-j2se-environment.html" title="Connection support for J2SE environment">Connection support for J2SE environment</A></LI>
<LI><A href="named-parameters-support.html" title="Named parameters support">Named parameters support</A></LI>
</UL>
<H2><A name="RDBDAS-UserGuide-Samples%28SeeCapabilitiesInUse%29"></A>Samples (See Capabilities In Use)</H2>
<P>User can try the samples below to understand the above mentioned concepts and capabilities.</P>
<UL>
<LI><A href="https://svn.apache.org/repos/asf/incubator/tuscany/java/das/samples/company-webapp/readme.htm" class="external-link" rel="nofollow">Company Web Sample</A> (Demonstrates basic CRUD)</LI>
<LI><A href="https://svn.apache.org/repos/asf/incubator/tuscany/java/das/samples/customer/readme.htm" class="external-link" rel="nofollow">Customer J2SE Sample</A> (Demonstrate using DAS in J2SE environment)</LI>
<LI><A href="https://svn.apache.org/repos/asf/incubator/tuscany/java/das/samples/advanced-webapp/readme.htm" class="external-link" rel="nofollow">Advanced Web Sample</A> (Demonstrate advanced DAS features like ResultSet Shape, Optimistic Concurrency Control, Converter usage)</LI>
</UL>
<P>To download go to <A href="http://cwiki.apache.org/confluence/display/TUSCANY/DAS%20Downloads" class="external-link" rel="nofollow">Downloads</A></P></TD></TR></TBODY></TABLE>
</DIV>
</DIV>
</DIV>
<!-- pageContent macro end -->
</TD>
</TR>
</TABLE>
<!-- footer macro -->
<SCRIPT src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</SCRIPT>
<SCRIPT type="text/javascript">
_uacct = "UA-1174707-5";
urchinTracker();
</SCRIPT>
<A href="http://www.statcounter.com/" target="_blank"><IMG src="http://c26.statcounter.com/counter.php?sc_project=2619156&java=0&security=94bd7e7d&invisible=0" alt="website stats" border="0"></A>
<DIV class="footer">
Copyright <20> 2003-2012, The Apache Software Foundation&nbsp;&nbsp;</BR>
Apache Tuscany and the Apache Tuscany project logo are trademarks of The Apache Software Foundation.
</DIV>
<!-- footer macro end -->
</BODY>
</HTML>