summaryrefslogtreecommitdiffstats
path: root/site/trunk/site-publish/das-java-project.html
blob: 9c58a5310aa9eec79ba64d62f927a9d9b1cc6d36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML>
    <HEAD>
        <LINK type="text/css" rel="stylesheet" href="http://incubator.apache.org/tuscany/stylesheets/default.css">
        <LINK rel="SHORTCUT ICON" href="http://cwiki.apache.org/confluence/display/TUSCANY/$images/favicon.ico">   
        <TITLE>DAS Java Project : Apache Tuscany</TITLE>
    <META http-equiv="Content-Type" content="text/html;charset=UTF-8"></HEAD>
    
    <BODY onload="init()">
        
            <TABLE valign="top" border="0" cellspacing="0" cellpadding="0" width="100%" background="http://incubator.apache.org/tuscany/images/TuscanyLogoNEW_Text_120px_bg.jpg">
        <TR>
            <TD valing="top" align="left">
			    <A href="http://cwiki.apache.org/confluence/pages/viewpage.action?spaceKey=TUSCANY&title=$siteroot"><IMG src="http://incubator.apache.org/tuscany/images/TuscanyLogoNEW_Text_120px_bg.jpg" height="91" width="25" border="0"></A>
			</TD>
			<TD>
                <A href="http://incubator.apache.org/tuscany/"><IMG src="http://incubator.apache.org/tuscany/images/TuscanyLogo.jpg" border="0"></A>
            </TD>
            
            <TD width="100%">
                &nbsp;
            </TD>
            <TD align="right">
                <IMG src="http://incubator.apache.org/tuscany/images/apache-incubator-logo.png" border="0">
            </TD>

            <!-- Adds the edit page link to the top banner-->
            <TD valign="bottom">
                <DIV style="padding: 2px 10px; margin: 0px;">
                    <A href="http://cwiki.apache.org/confluence/pages/editpage.action?pageId=45092">
                    <IMG src="http://incubator.apache.org/tuscany/images/notep_16.gif" height="16" width="16" border="0" align="absmiddle" title="Edit Page"></A>
                </DIV>
            </TD>

        </TR>
    </TABLE>

            <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="" title="DAS Java Project">DAS Java Project</A>
            </TD>
            
            <TD align="left" valign="middle" class="topBarDiv" nowrap="true">
            <A href="http://mail-archives.apache.org/mod_mbox/ws-tuscany-user">User List</A> | <A href="http://mail-archives.apache.org/mod_mbox/ws-tuscany-dev">Dev List</A> | <A href="http://issues.apache.org/jira/browse/Tuscany">Issue Tracker</A>&nbsp;&nbsp;
            </TD>
        </TR>
    </TABLE>

        <TABLE border="0" cellpadding="0" width="100%" bgcolor="#FFFFFF">
            <TR>
                <TD align="left" valign="top">
                        <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="border-style: solid; border-color: #b4b4b5; "><DIV class="panelHeader" style="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="rdb-das.html" title="RDB DAS">RDB DAS</A><BR>
<A href="xquery-java-das.html" title="XQuery Java DAS">XQuery DAS</A><BR>
<A href="ldap-das-java.html" title="LDAP DAS Java">LDAP DAS</A></P>
</DIV></DIV></TD>
<TD class="confluenceTd" valign="top" width="85%">

<H3><A name="DASJavaProject-DASProjects"></A>DAS Projects</H3>
<P>This document provides information on DAS Java subproject of the Apache Tuscany incubator project.</P>

<H3><A name="DASJavaProject-DASJavaGettingStarted"></A>DAS Java Getting Started	</H3>

<P>To get started with Java DAS, follow the downloads link and pick up either a binary or source distribution. If you are working from a source distribution, you can follow the general instructions for building the whole of the Tuscany java projects, or you can follow the intructions within the DAS Java overview to build and explore just DAS java.</P>

<H3><A name="DASJavaProject-BuildEnvironmentSetup"></A>Build Environment Setup	</H3>

<P>DAS is a subproject of the Tuscany Java project subtree. If you check out and build the whole Tuscany Java project, you will have also built the DAS subproject.  <BR>
<SPAN class="error">&#91;Note: Show how this can be done&#93;</SPAN></P>

<H4><A name="DASJavaProject-BuildDASsubproject"></A>Build DAS subproject </H4>

<P>Set up your environment using the instructions for building the whole of Tuscany, but only download and install Java 5, Maven and Svn</P>

<P>Make sure 'mvn' and 'svn' commands are in your PATH environment variable.</P>

<P>Check out the DAS open source projects from Apache.</P>

<P>Commands:</P>

<P>md &lt;local tuscany dir&gt; <BR>
cd &lt;local tuscany dir&gt; <BR>
svn co <SPAN class="nobr"><A href="https://svn.apache.org/repos/asf/incubator/tuscany/java" title="Visit page outside Confluence" rel="nofollow">https://svn.apache.org/repos/asf/incubator/tuscany/java<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN> </P>

<P>Run &quot;mvn&quot; under &lt;local tuscany dir&gt;/java directory to install POM files from the root project to the local repository</P>

<P><EM>cd &lt;local tuscany dir&gt;/java/das</EM> <BR>
<EM>mvn</EM></P>

<P>If the mvn command completed successfully, you will see BUILD SUCCESSFUL in the output and tuscany-das-rdb-1.0-SNAPSHOP.jar is created under &lt;local tuscany dir&gt;/java/das/rdb/target directory.</P>

<P><IMG class="emoticon" src="http://cwiki.apache.org/confluence/images/icons/emoticons/lightbulb_on.gif" height="16" width="16" align="absmiddle" alt="" border="0"> External resources are at times unavailable. It may be necessary to run &quot;mvn&quot; again at a later time<BR>
Use of Firewall can cause time out. Set up the firewall to permit the action without prompting.</P>

<H4><A name="DASJavaProject-BuildingJavadocforDAS"></A>Building Javadoc for DAS</H4>

<P>In order to build DAS Javadocs, you will need to build the a specific maven profile called &quot;javadoc&quot;</P>

<P><EM>cd &lt;local tuscany dir&gt;/java/das</EM> <BR>
<EM>mvn -P javadoc</EM></P>

<P>Javadoc will become available at &lt;local tuscany dir&gt;/java/das/rdb/target/apidocs/index.html.</P>

<H4><A name="DASJavaProject-DependencyJarsforDAS.RDB"></A>Dependency Jars for DAS.RDB</H4>

<P>The DAS.RDB project has a dependency on SDO and requires the following SDO runtime jars to build</P>

<P>sdo-api-r2.0.1-1.0-SNAPSHOT.jar - SDO 2.0 Interfaces<BR>
tuscany-sdo-impl-1.0-SNAPSHOT.jar - SDO 2.0 implementation</P>

<P>The SDO.IMPL project have dependencies on the following EMF (Eclipse Modeling Framework - www.eclipse.org/emf) runtime jars to build:</P>

<P>common-2.2.1.jar - some common framework utility and base classes<BR>
ecore-2.2.1.jar - the EMF core runtime implementation classes (the Ecore metamodel)<BR>
ecore-change-2.2.1.jar - the EMF change recorder and framework<BR>
ecore-xmi-2.2.1.jar - EMF's default XML (and XMI) serializer and loader<BR>
xsd-2.2.1.jar - the XML Schema model<BR>
log4j-1.2.12.jar - log4j logging framework</P>

<H4><A name="DASJavaProject-RunningDASSamples"></A>Running DAS Samples	</H4>

<P>DAS provide sample a CompanyWeb scenario where it exposes some of the DAS Features integrated in a J2EE webapp.<BR>
Follow the steps below to be able to run the samples in a J2EE webserver (in our case Apache Tomcat)</P>

<P>From the source repository</P>

<P>checkout DAS Sample from SVN repository:<BR>
<EM>md 'local tuscany dir'</EM><BR>
<EM>cd 'local tuscany dir'</EM><BR>
<EM>svn co <SPAN class="nobr"><A href="https://svn.apache.org/repos/asf/incubator/tuscany/java/das" title="Visit page outside Confluence" rel="nofollow">https://svn.apache.org/repos/asf/incubator/tuscany/java/das<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN> das</EM></P>

<P>use maven to build the CompanyWeb war file:</P>

<P><EM>cd das\samples</EM><BR>
<EM>mvn</EM></P>

<P>use maven to deploy the CompanyWeb war file to Tomcat</P>

<P><EM>mvn tomcat:deploy</EM></P>

<P>There are also some sample applications that use a mix of SCA, SDO and DAS. See &quot;Running the Samples&quot; on the Java project page for details.<BR>
<SPAN class="error">&#91;Note: Please check to make sure this is correct&#93;</SPAN></P>

<P>From a DAS Sample distribution (starting with M2):</P>

<P>Download a das-sample distribution from <SPAN class="nobr"><A href="http://incubator.apache.org/tuscany/downloads.html" title="Visit page outside Confluence" rel="nofollow">http://incubator.apache.org/tuscany/downloads.html<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></P>

<P>Extract the companyweb war file and follow regular deployment procedures to deploy the war file</P>


<H4><A name="DASJavaProject-RunningTuscanyDASUnitTests"></A>Running Tuscany DAS Unit Tests	</H4>

<P>DAS is currently providing two sets of unit tests</P>

<P>JUnit tests for the core DAS code</P>

<P>HTMLUnit tests integrated with Tomcat for DAS CompanyWeb sample application</P>

<P>Please run unit tests as a good practice before submitting your contribution.  </P>

<P><B>Running DAS tests as part of the build</B></P>

<P>-cd 'local tuscany dir'/java/das_<BR>
<EM>mvn test</EM></P>

<P>-------------------------------------------------------<BR>
T E S T S<BR>
-------------------------------------------------------<BR>
Running org.apache.tuscany.das.rdb.test.suites.AllTestsDerby<BR>
Setting up for Derby run<BR>
Ending Derby run<BR>
Tests run: 137, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 33.468 sec</P>

<P>Results :</P>

<P>Tests run: 137, Failures: 0, Errors: 0, Skipped: 0</P>

<P><SPAN class="nobr"><A href="http://cwiki.apache.org/confluence/pages/createpage.action?spaceKey=TUSCANY&title=INFO&linkCreation=true&fromPageId=45092" title="Create Page: INFO" class="createlink">INFO<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/plus.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN> ------------------------------------------------------------------------<BR>
<SPAN class="nobr"><A href="http://cwiki.apache.org/confluence/pages/createpage.action?spaceKey=TUSCANY&title=INFO&linkCreation=true&fromPageId=45092" title="Create Page: INFO" class="createlink">INFO<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/plus.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN> BUILD SUCCESSFUL<BR>
<SPAN class="nobr"><A href="http://cwiki.apache.org/confluence/pages/createpage.action?spaceKey=TUSCANY&title=INFO&linkCreation=true&fromPageId=45092" title="Create Page: INFO" class="createlink">INFO<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/plus.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN> ------------------------------------------------------------------------<BR>
<SPAN class="nobr"><A href="http://cwiki.apache.org/confluence/pages/createpage.action?spaceKey=TUSCANY&title=INFO&linkCreation=true&fromPageId=45092" title="Create Page: INFO" class="createlink">INFO<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/plus.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN> Total time: 57 seconds<BR>
<SPAN class="nobr"><A href="http://cwiki.apache.org/confluence/pages/createpage.action?spaceKey=TUSCANY&title=INFO&linkCreation=true&fromPageId=45092" title="Create Page: INFO" class="createlink">INFO<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/plus.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN> Finished at: Tue Oct 03 12:06:13 PDT 2006<BR>
<SPAN class="nobr"><A href="http://cwiki.apache.org/confluence/pages/createpage.action?spaceKey=TUSCANY&title=INFO&linkCreation=true&fromPageId=45092" title="Create Page: INFO" class="createlink">INFO<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/plus.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN> Final Memory: 5M/10M<BR>
<SPAN class="nobr"><A href="http://cwiki.apache.org/confluence/pages/createpage.action?spaceKey=TUSCANY&title=INFO&linkCreation=true&fromPageId=45092" title="Create Page: INFO" class="createlink">INFO<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/plus.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN> ------------------------------------------------------------------------</P>


<P><B>Running DAS CompanyWeb tests in tomcat</B></P>

<P>Download tomcat distribution into your local filesystem : <SPAN class="nobr"><A href="http://tomcat.apache.org/" title="Visit page outside Confluence" rel="nofollow">http://tomcat.apache.org/<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></P>

<P>Create a build.properties in your root directory (e.g. C:\Documents and Settings\lresende in Win2K systems) with the following contents</P>

<P>tuscany.acceptance.tomcat.zipped='directory where tomcat was downloaded'<BR clear="all">apache-tomcat-5.5.17-tuscany.zip</P>

<P>checkout DAS Sample from SVN repository:</P>

<P><EM>md 'local tuscany dir'</EM><BR>
<EM>cd 'local tuscany dir'</EM><BR>
<EM>svn co <SPAN class="nobr"><A href="https://svn.apache.org/repos/asf/incubator/tuscany/java/das" title="Visit page outside Confluence" rel="nofollow">https://svn.apache.org/repos/asf/incubator/tuscany/java/das<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN> das</EM></P>

<P>use maven run the DAS CompanyWeb tests in Tomcat:</P>

<P><EM>cd das/samples/testing/tomcat</EM><BR>
<EM>mvn</EM></P>

<P>-------------------------------------------------------<BR>
T E S T S<BR>
-------------------------------------------------------<BR>
Running org.apache.tuscany.test.das.DasTestCase<BR>
Running:HomePage SUCCESS!!!<BR>
Running:AllCompanies SUCCESS!!!<BR>
Running:AllCompaniesDepartments SUCCESS!!!<BR>
Running:AddDepartmentToFirstCompany SUCCESS!!!<BR>
Running:ChangeCompanyDepartmentNames SUCCESS!!!<BR>
Running:DeleteCompanyOneDepartments SUCCESS!!!<BR>
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.911 sec</P>

<P>Results :</P>

<P>Tests run: 6, Failures: 0, Errors: 0, Skipped: 0</P>

<P><SPAN class="nobr"><A href="http://cwiki.apache.org/confluence/pages/createpage.action?spaceKey=TUSCANY&title=INFO&linkCreation=true&fromPageId=45092" title="Create Page: INFO" class="createlink">INFO<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/plus.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN><BR>
<SPAN class="nobr"><A href="http://cwiki.apache.org/confluence/pages/createpage.action?spaceKey=TUSCANY&title=INFO&linkCreation=true&fromPageId=45092" title="Create Page: INFO" class="createlink">INFO<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/plus.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN><BR>
<SPAN class="nobr"><A href="http://cwiki.apache.org/confluence/pages/createpage.action?spaceKey=TUSCANY&title=INFO&linkCreation=true&fromPageId=45092" title="Create Page: INFO" class="createlink">INFO<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/plus.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN> ------------------------------------------------------------------------<BR>
<SPAN class="nobr"><A href="http://cwiki.apache.org/confluence/pages/createpage.action?spaceKey=TUSCANY&title=INFO&linkCreation=true&fromPageId=45092" title="Create Page: INFO" class="createlink">INFO<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/plus.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN> Reactor Summary:<BR>
<SPAN class="nobr"><A href="http://cwiki.apache.org/confluence/pages/createpage.action?spaceKey=TUSCANY&title=INFO&linkCreation=true&fromPageId=45092" title="Create Page: INFO" class="createlink">INFO<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/plus.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN> ------------------------------------------------------------------------<BR>
<SPAN class="nobr"><A href="http://cwiki.apache.org/confluence/pages/createpage.action?spaceKey=TUSCANY&title=INFO&linkCreation=true&fromPageId=45092" title="Create Page: INFO" class="createlink">INFO<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/plus.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN> Tuscany Testing in Tomcat ............................. SUCCESS <SPAN class="nobr"><A href="http://cwiki.apache.org/confluence/pages/createpage.action?spaceKey=TUSCANY&title=0.251s&linkCreation=true&fromPageId=45092" title="Create Page: 0.251s" class="createlink">0.251s<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/plus.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN><BR>
<SPAN class="nobr"><A href="http://cwiki.apache.org/confluence/pages/createpage.action?spaceKey=TUSCANY&title=INFO&linkCreation=true&fromPageId=45092" title="Create Page: INFO" class="createlink">INFO<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/plus.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN> Tuscany Testing DAS Sample - Companyweb ............... SUCCESS <SPAN class="error">&#91;1:17.791s&#93;</SPAN><BR>
<SPAN class="nobr"><A href="http://cwiki.apache.org/confluence/pages/createpage.action?spaceKey=TUSCANY&title=INFO&linkCreation=true&fromPageId=45092" title="Create Page: INFO" class="createlink">INFO<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/plus.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN> ------------------------------------------------------------------------<BR>
<SPAN class="nobr"><A href="http://cwiki.apache.org/confluence/pages/createpage.action?spaceKey=TUSCANY&title=INFO&linkCreation=true&fromPageId=45092" title="Create Page: INFO" class="createlink">INFO<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/plus.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN> ------------------------------------------------------------------------<BR>
<SPAN class="nobr"><A href="http://cwiki.apache.org/confluence/pages/createpage.action?spaceKey=TUSCANY&title=INFO&linkCreation=true&fromPageId=45092" title="Create Page: INFO" class="createlink">INFO<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/plus.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN> BUILD SUCCESSFUL<BR>
<SPAN class="nobr"><A href="http://cwiki.apache.org/confluence/pages/createpage.action?spaceKey=TUSCANY&title=INFO&linkCreation=true&fromPageId=45092" title="Create Page: INFO" class="createlink">INFO<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/plus.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN> ------------------------------------------------------------------------<BR>
<SPAN class="nobr"><A href="http://cwiki.apache.org/confluence/pages/createpage.action?spaceKey=TUSCANY&title=INFO&linkCreation=true&fromPageId=45092" title="Create Page: INFO" class="createlink">INFO<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/plus.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN> Total time: 1 minute 18 seconds<BR>
<SPAN class="nobr"><A href="http://cwiki.apache.org/confluence/pages/createpage.action?spaceKey=TUSCANY&title=INFO&linkCreation=true&fromPageId=45092" title="Create Page: INFO" class="createlink">INFO<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/plus.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN> Finished at: Tue Oct 03 12:25:48 PDT 2006<BR>
<SPAN class="nobr"><A href="http://cwiki.apache.org/confluence/pages/createpage.action?spaceKey=TUSCANY&title=INFO&linkCreation=true&fromPageId=45092" title="Create Page: INFO" class="createlink">INFO<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/plus.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN> Final Memory: 7M/15M<BR>
<SPAN class="nobr"><A href="http://cwiki.apache.org/confluence/pages/createpage.action?spaceKey=TUSCANY&title=INFO&linkCreation=true&fromPageId=45092" title="Create Page: INFO" class="createlink">INFO<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/plus.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN> ------------------------------------------------------------------------</P>

<P><IMG class="emoticon" src="http://cwiki.apache.org/confluence/images/icons/emoticons/lightbulb_on.gif" height="16" width="16" align="absmiddle" alt="" border="0"> Due to a current limitation, you must run mvn clean before you can run the tests a second time</P>

<H3><A name="DASJavaProject-DASRDBCodeStructure"></A>DAS RDB Code Structure	</H3>

<P>Currently, the project's code base includes an implementation of a DAS RDB (relational database) and it is divided into three parts:</P>

<P>1. das.rdb contains the DAS interfaces and the RDB (Relational Database) runtime implementation.</P>

<P>2. samples.das provides sample applications based on DAS.</P>

<P>3. distribution.das provides DAS binaries distribution with required dependencies.</P>

<P>Please note that distribution.das-samples provides DAS samples distribution as a ready-to-deploy war file.</P>

<P>Following diagram shows the high level class diagram for RDB DAS.<BR>
<SPAN class="error">&#91;Note: Should the following be moved to architecture guide for RDB DAS\?&#93;</SPAN></P>

<P><IMG src="das-java-project.data/das_class_diagram.jpg" align="absmiddle" border="0"></P>

</TD></TR></TBODY></TABLE>
            </DIV>
        </DIV>
    </DIV>
                </TD>
            </TR>
        </TABLE>

                <SCRIPT src="http://www.google-analytics.com/urchin.js" type="text/javascript">
    </SCRIPT>
    <SCRIPT type="text/javascript">
       _uacct = "UA-1174707-5";
       urchinTracker();
    </SCRIPT>

    <DIV class="footer">
        Copyright &copy; 2003-2007, The Apache Software Foundation&nbsp;&nbsp;
    </DIV>

    </BODY>
</HTML>