Revision 7b7d91b4
Added by Niels Hoffmann over 13 years ago
.gitattributes | ||
---|---|---|
2352 | 2352 |
src/docbkx/security.xml -text |
2353 | 2353 |
src/docbkx/service.xml -text |
2354 | 2354 |
src/docbkx/versioning.xml -text |
2355 |
src/site/resources/images/logos/logo_edit.png -text |
|
2356 |
src/site/resources/images/logos/logo_edit2.png -text |
|
2355 |
src/site/apt/download.apt -text |
|
2356 |
src/site/apt/getting-started.apt -text |
|
2357 |
src/site/apt/index.apt -text |
|
2358 |
src/site/apt/overview.apt -text |
|
2359 |
src/site/apt/reference.apt -text |
|
2360 |
src/site/apt/rest-api.apt -text |
|
2361 |
src/site/fml/faq.fml -text |
|
2362 |
src/site/fml/troubleshooting.fml -text |
|
2363 |
src/site/resources/images/cdmlib-arch4.png -text |
|
2357 | 2364 |
src/site/site.xml -text |
src/site/apt/download.apt | ||
---|---|---|
1 |
Download |
src/site/apt/getting-started.apt | ||
---|---|---|
1 |
Getting Started |
src/site/apt/index.apt | ||
---|---|---|
1 |
------ |
|
2 |
What is the Common Data Model |
|
3 |
------ |
|
4 |
------ |
|
5 |
2010-11-05 |
|
6 |
------ |
|
7 |
|
|
8 |
What is the Common Data Model |
|
9 |
|
|
10 |
The CDM Library is meant to be a shared library for the between several applications which can be of any kind, i.e. J2EE having an application container, simple command line tools or swing desktop applications. The library defines a persistent domain model, EDITs CommonDataModel, that can be serialised and read in XML. Business logic shared between applications should be part of this library as much as possible, while application specific logic has to stay out. We are developing this library in collaboration with the CATE project initially, but we seeking development collaboration with other projects like Key2Nature and PESI as well. |
src/site/apt/overview.apt | ||
---|---|---|
1 |
------ |
|
2 |
Overview |
|
3 |
------ |
|
4 |
------ |
|
5 |
2010-11-05 |
|
6 |
------ |
|
7 |
|
|
8 |
Overview |
|
9 |
|
|
10 |
The CDM library itself is devided into several layers, as to provide a seperation of concerns. |
|
11 |
|
|
12 |
[images/cdmlib-arch4.png] CDM Library layers |
|
13 |
|
|
14 |
|
|
15 |
* Domain Model - <cdmlib-model> |
|
16 |
|
|
17 |
Domain objects (also called business objects sometimes) are directly taken as POJOs from the CommonDataModel. The logic inherent to the domain objects are restricted to their own object graph, i.e. their own properties and related objects. But not unrelated objects available through DAOs only. Typical logic includes validation and calculations. |
|
18 |
|
|
19 |
** Property change support |
|
20 |
|
|
21 |
We have implemented java.bean propertyChangeSupport methods for the entire cdm domain classes to send change events to registered listeners. |
|
22 |
The TaxonomicEditor makes use of these through a data binding framework. See wiki:JavaResources#DataBinding for more. |
|
23 |
|
|
24 |
** XML binding |
|
25 |
|
|
26 |
For data exchange purposes, serialization/deserialization of the domain objects of the cdmlib-model to/from XML format is supported via the [https://jaxb.dev.java.net/ JAXB] framework. |
|
27 |
|
|
28 |
** Name parser |
|
29 |
|
|
30 |
Documentation is available at NameParserDocumentation |
|
31 |
|
|
32 |
* Persistence Layer - <cdmlib-persistence> |
|
33 |
|
|
34 |
we use Hibernate for persistence. We run unit and integration tests for MySQL, Hypersonic, Postgres and MS SQL Server on a regular basis. |
|
35 |
|
|
36 |
* API - <cdmlib-services> |
|
37 |
|
|
38 |
Work in progress. see "CdmLibrary#Servicelayer" or wiki:CdmAPI for now. |
src/site/apt/reference.apt | ||
---|---|---|
1 |
Reference |
src/site/fml/faq.fml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<faqs xmlns="http://maven.apache.org/FML/1.0.1" |
|
3 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
4 |
xsi:schemaLocation="http://maven.apache.org/FML/1.0.1 http://maven.apache.org/xsd/fml-1.0.1.xsd" |
|
5 |
title="Frequently Asked Questions" |
|
6 |
toplink="false"> |
|
7 |
|
|
8 |
<part id="general"> |
|
9 |
<title>General</title> |
|
10 |
|
|
11 |
<faq id="whats-foo"> |
|
12 |
<question> |
|
13 |
What is Foo? |
|
14 |
</question> |
|
15 |
<answer> |
|
16 |
<p>some markup goes here</p> |
|
17 |
|
|
18 |
<source>some source code</source> |
|
19 |
|
|
20 |
<p>some markup goes here</p> |
|
21 |
</answer> |
|
22 |
</faq> |
|
23 |
|
|
24 |
<faq id="whats-bar"> |
|
25 |
<question> |
|
26 |
What is Bar? |
|
27 |
</question> |
|
28 |
<answer> |
|
29 |
<p>some markup goes here</p> |
|
30 |
</answer> |
|
31 |
</faq> |
|
32 |
</part> |
|
33 |
|
|
34 |
<part id="install"> |
|
35 |
|
|
36 |
<title>Installation</title> |
|
37 |
|
|
38 |
<faq id="how-install"> |
|
39 |
<question> |
|
40 |
How do I install Foo? |
|
41 |
</question> |
|
42 |
<answer> |
|
43 |
<p>some markup goes here</p> |
|
44 |
</answer> |
|
45 |
</faq> |
|
46 |
|
|
47 |
</part> |
|
48 |
|
|
49 |
</faqs> |
src/site/fml/troubleshooting.fml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<faqs xmlns="http://maven.apache.org/FML/1.0.1" |
|
3 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
4 |
xsi:schemaLocation="http://maven.apache.org/FML/1.0.1 http://maven.apache.org/xsd/fml-1.0.1.xsd" |
|
5 |
title="Troubleshooting" |
|
6 |
toplink="false"> |
|
7 |
|
|
8 |
<part id="general"> |
|
9 |
<title>General</title> |
|
10 |
|
|
11 |
<faq id="whats-foo"> |
|
12 |
<question> |
|
13 |
What is Foo? |
|
14 |
</question> |
|
15 |
<answer> |
|
16 |
<p>some markup goes here</p> |
|
17 |
|
|
18 |
<source>some source code</source> |
|
19 |
|
|
20 |
<p>some markup goes here</p> |
|
21 |
</answer> |
|
22 |
</faq> |
|
23 |
|
|
24 |
<faq id="whats-bar"> |
|
25 |
<question> |
|
26 |
What is Bar? |
|
27 |
</question> |
|
28 |
<answer> |
|
29 |
<p>some markup goes here</p> |
|
30 |
</answer> |
|
31 |
</faq> |
|
32 |
</part> |
|
33 |
|
|
34 |
<part id="install"> |
|
35 |
|
|
36 |
<title>Installation</title> |
|
37 |
|
|
38 |
<faq id="how-install"> |
|
39 |
<question> |
|
40 |
How do I install Foo? |
|
41 |
</question> |
|
42 |
<answer> |
|
43 |
<p>some markup goes here</p> |
|
44 |
</answer> |
|
45 |
</faq> |
|
46 |
|
|
47 |
</part> |
|
48 |
|
|
49 |
</faqs> |
src/site/site.xml | ||
---|---|---|
1 | 1 |
<?xml version="1.0" encoding="ISO-8859-1"?> |
2 |
<site> |
|
3 |
<!-- |
|
4 |
http://www.javaworld.com/javaworld/jw-02-2006/jw-0227-maven.html?page=4#resources |
|
5 |
http://maven.apache.org/plugins/maven-site-plugin/examples/sitedescriptor.html |
|
6 |
--> |
|
7 |
|
|
8 |
<poweredBy> |
|
9 |
<logo name="Funded by EDIT" href="http://www.e-taxonomy.eu/" img="images/logos/logo_edit.png" /> |
|
10 |
<logo name="Build with Maven 2" href="http://maven.apache.org" img="images/logos/maven-feather.png" /> |
|
11 |
</poweredBy> |
|
12 |
|
|
13 |
<body> |
|
14 |
<links> |
|
15 |
<item name="Edit" href="http://www.e-taxonomy.eu/" /> |
|
16 |
<item name="WP5" href="http://wp5.e-taxonomy.eu/blog/index.php"/> |
|
17 |
<item name="DevWiki" href="http://dev.e-taxonomy.eu/wiki"/> |
|
18 |
<item name="Spring" href="http://www.springframework.org/"/> |
|
19 |
<item name="Hibernate" href="http://www.hibernate.org/"/> |
|
20 |
</links> |
|
21 |
|
|
22 |
<menu ref="parent" inherit="top" /> |
|
23 |
|
|
24 |
<menu name="CDM Library"> |
|
25 |
<item name="Home" href="http://dev.e-taxonomy.eu/wiki/CdmLibrary"/> |
|
26 |
<item name="CDM Commons" href="http://wp5.e-taxonomy.eu/cdmlib/site/cdmlib-commons/"/> |
|
27 |
<item name="CDM Model" href="http://wp5.e-taxonomy.eu/cdmlib/site/cdmlib-model/"/> |
|
28 |
<item name="CDM Persistence" href="http://wp5.e-taxonomy.eu/cdmlib/site/cdmlib-persistence/"/> |
|
29 |
<item name="CDM Service" href="http://wp5.e-taxonomy.eu/cdmlib/site/cdmlib-services/"/> |
|
30 |
<item name="CDM External" href="http://wp5.e-taxonomy.eu/cdmlib/site/cdmlib-ext/"/> |
|
31 |
<item name="CDM Import/Export" href="http://wp5.e-taxonomy.eu/cdmlib/site/cdmlib-io/"/> |
|
32 |
<item name="CDM Server" href="http://wp5.e-taxonomy.eu/cdmlib/site/cdmlib-remote/"/> |
|
2 |
<project xmlns="http://maven.apache.org/DECORATION/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="CDM Library" xsi:schemaLocation="http://maven.apache.org/DECORATION/1.0.0 http://maven.apache.org/xsd/decoration-1.0.0.xsd"> |
|
3 |
<skin> |
|
4 |
<groupId>eu.etaxonomy.site</groupId> |
|
5 |
<artifactId>platform-site-skin</artifactId> |
|
6 |
<version>1.0</version> |
|
7 |
</skin> |
|
8 |
<body> |
|
9 |
<links> |
|
10 |
<item name="Taxonomic Editor" href="http://wp5.e-taxonomy.eu/taxeditor/"/> |
|
11 |
<item name="CDM Server" href="http://wp5.e-taxonomy.eu/cdm-server/"/> |
|
12 |
<item name="Dataportal" href="http://wp5.e-taxonomy.eu/portal/"/> |
|
13 |
<item name="Print Publisher" href="http://wp5.e-taxonomy.eu/printpublisher/"/> |
|
14 |
<item name="CDM Setups" href="http://wp5.e-taxonomy.eu/cdm-setups/"/> |
|
15 |
</links> |
|
16 |
<menu name="General Information"> |
|
17 |
<item name="What is the CDM Library?" href="index.html"/> |
|
18 |
<item name="Details" href="overview.html"/> |
|
19 |
<item name="FAQ" href="faq.html"/> |
|
20 |
<item name="License" href="license.html"/> |
|
21 |
<item name="Download" href="download.html"/> |
|
33 | 22 |
</menu> |
34 |
|
|
35 |
<menu ref="reports"/> |
|
36 |
|
|
37 |
</body> |
|
38 |
|
|
39 |
</site> |
|
23 |
<menu name="Developer"> |
|
24 |
<item name="Getting started" href="getting-started.html"/> |
|
25 |
<item name="Reference" href="reference.html"/> |
|
26 |
<item name="UML" href="http://wp5.e-taxonomy.eu/cdm-uml"/> |
|
27 |
<item name="API" href="apidocs/index.html"/> |
|
28 |
<item name="REST API" href="rest-api.html"/> |
|
29 |
<item name="Troubleshooting" href="troubleshooting.html"/> |
|
30 |
<item name="Wiki" href="http://dev.e-taxonomy.eu/trac/wiki/CdmLibrary"/> |
|
31 |
</menu> |
|
32 |
<menu name="Project"> |
|
33 |
<item name="Mailing Lists" href="mail-lists.html"/> |
|
34 |
<item name="Project Team" href="team-list.html"/> |
|
35 |
<item name="Continuous Integration" href="integration.html"/> |
|
36 |
<item name="Issue Tracking" href="http://dev.e-taxonomy.eu/trac/"/> |
|
37 |
<item name="Source Repository" href="source-repository.html"/> |
|
38 |
</menu> |
|
39 |
</body> |
|
40 |
</project> |
Also available in: Unified diff
updating site content