Project

General

Profile

CdmLibraryDev » History » Version 23

Andreas Kohlbecker, 04/02/2013 09:37 AM

1 1 Niels Hoffmann
2
3
4
5
# CDM Library Development Resources
6
7
8
This page holds information and resources for developing the CDM Library. For a general introcution to the CDM Library and basic setup instructions please see: http://wp5.e-taxonomy.eu/cdmlib
9
10
11
{{>toc}}
12 2 Niels Hoffmann
13
14
15
16
17
----
18
19
20 11 Andreas Kohlbecker
## Conventions & Policies
21 10 Andreas Kohlbecker
22 1 Niels Hoffmann
* [[CdmLibraryConventions]]
23 11 Andreas Kohlbecker
24
* [[CdmReleasePolicy|CDM Release, Versioning & Branch Policy]]
25 10 Andreas Kohlbecker
26 2 Niels Hoffmann
27 8 Niels Hoffmann
28 23 Andreas Kohlbecker
## General information
29 8 Niels Hoffmann
30 23 Andreas Kohlbecker
* [[CdmTransactions|Transactions in the CDM library]]
31 1 Niels Hoffmann
32 23 Andreas Kohlbecker
* [[CdmEntityInitalization]]
33 1 Niels Hoffmann
34 23 Andreas Kohlbecker
* [[CdmLibraryCaveats]]
35 14 Andreas Kohlbecker
36 23 Andreas Kohlbecker
* [[TermVocabularyHowTo|HowTo Create a Term Vocabulary]]
37 15 Andreas Kohlbecker
38 23 Andreas Kohlbecker
* [[MavenCdmUpdate]]
39 22 Andreas Kohlbecker
40 1 Niels Hoffmann
41 13 Andreas Kohlbecker
42 23 Andreas Kohlbecker
## Tests (writing / running)
43 22 Andreas Kohlbecker
44 23 Andreas Kohlbecker
* [[IntegrationTests|IntegrationTests - Testing java code using Maven and Unitils]]
45 1 Niels Hoffmann
46 23 Andreas Kohlbecker
* [[IntegrationTestWriting|IntegrationTests - how to write tests and how to generate test data for them]]
47 22 Andreas Kohlbecker
48
49 8 Niels Hoffmann
50 23 Andreas Kohlbecker
## Discussion
51 1 Niels Hoffmann
52 23 Andreas Kohlbecker
* [[CdmBrainstorm]] - problems & ideas for the future of the CDM 
53 1 Niels Hoffmann
54 23 Andreas Kohlbecker
* [[CdmLibraryFreetextSearch]] 
55 21 Andreas Kohlbecker
56 23 Andreas Kohlbecker
* [[HibernateSpringAndRowlevelSecurity]]
57 1 Niels Hoffmann
58 23 Andreas Kohlbecker
* [[CdmAuthorisationAndAccessControl]]
59 21 Andreas Kohlbecker
60 20 Andreas Kohlbecker
61
62 23 Andreas Kohlbecker
## cdmlib-remote RESTful services
63 3 Niels Hoffmann
64 23 Andreas Kohlbecker
* [[CdmServerReadWriteRest]]
65 9 Niels Hoffmann
66 23 Andreas Kohlbecker
*  [REST API reference, Object Boundaries, Localization, Content Negotiation, Character Encoding](http://wp5.e-taxonomy.eu/cdmlib/rest-api.html) 
67 3 Niels Hoffmann
68 23 Andreas Kohlbecker
* [[CdmEntityInitalization|Bean/Entity Initialization]]
69
70
* [[CdmRestServicesEntitySerialization|On the serialization of CDM entities in the cdmlib-remote RESTful services]]
71
72 17 Patrick Plitzner
73 4 Niels Hoffmann
74
75 6 Niels Hoffmann
----
76
77 3 Niels Hoffmann
78
79 2 Niels Hoffmann
## External Resources / Links
80
81
82
83
### Hibernate
84
85
* Hibernate works with most current RDBMS. See  [supported databases](http://www.hibernate.org/80.html) 
86
87 12 Andreas Müller
* [On CascadeType.DELETE and CascadeType=DELETE_ORPHAN](http://www.mkyong.com/hibernate/hibernate-cascade-example-save-update-delete-and-delete-orphan/)
88
89 2 Niels Hoffmann
90
91
### Spring 2.0 Framework
92
93
We use the Spring 2.0 framework to develop the library and keep the coupling of components low.
94
95
*  [Spring2.0 Documentation](http://static.springframework.org/spring/docs/2.0.x/reference/index.html) 
96
97
*  [Introduction to the Spring Framework](http://www.theserverside.com/tt/articles/content/SpringFramework/article.html) 
98
99 7 Niels Hoffmann
*  [Die Rückkehr der POJOs. Das Spring-Framework: leichtgewichtiges Komponentenmodell als Alternative zu EJB](http://javamagazin.de/itr/online_artikel/psecom,id,608,nodeid,11.html) 
100 2 Niels Hoffmann
101
102
103
### Domain Models
104
105
* [Domain Models and Validation. An Architectural Discussion](http://forum.springframework.org/showthread.php?t=18699)
106
107
* [Avoiding anemic domain models with Hibernate](http://www.theserverside.com/patterns/thread.tss?thread_id=31010)
108
109
* [Business Object Pattern](http://www.corej2eepatterns.com/Patterns2ndEd/BusinessObject.htm)
110
111
*  [AnemicDomainModel Anti Pattern](http://www.martinfowler.com/bliki/AnemicDomainModel.html) 
112
113
114
115
#### Property Change
116
117
* http://www.onjava.com/pub/a/onjava/2004/06/02/desktop.html
118
119
* http://www.javalobby.org/java/forums/t19476.html
120
121
122
123
### Useful Patterns
124
125
* [ApplicationService Pattern](http://www.corej2eepatterns.com/Patterns2ndEd/ApplicationService.htm)
126
127
128
129
130
### Aspect Oriented Programming
131
132
We use AspectJ to implement the change property crosscutting concern:
133
134
* AspectJ
135
136
  * http://today.java.net/pub/a/today/2005/12/15/writing-mixins-with-aop.html
137
138
* JBoss AOP
139
140
  * http://www.damnhandy.com/javabean-aspect/
141
142
* Spring AOP
143
144
  * http://forum.springframework.org/archive/index.php/t-13293.html
145
146
  * http://forum.springframework.com/viewtopic.php?t=301