Project

General

Profile

CdmLibraryDev » History » Version 21

Andreas Kohlbecker, 03/05/2013 01:39 PM

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 13 Andreas Kohlbecker
## Discussion
29 8 Niels Hoffmann
30 16 Andreas Kohlbecker
* [[CdmBrainstorm]] - problems & ideas for the future of the CDM 
31 1 Niels Hoffmann
32 13 Andreas Kohlbecker
* [[CdmLibraryFreetextSearch]] 
33
34 14 Andreas Kohlbecker
* [[HibernateSpringAndRowlevelSecurity]]
35
36 15 Andreas Kohlbecker
* [[CdmAuthorisationAndAccessControl]]
37
38 13 Andreas Kohlbecker
39
40
## CDM REST API
41
42 8 Niels Hoffmann
* [[CdmServerReadWriteRest]]
43
44
45 3 Niels Hoffmann
46 21 Andreas Kohlbecker
## Tests
47 20 Andreas Kohlbecker
48 1 Niels Hoffmann
* [[IntegrationTests|IntegrationTests - Testing java code using Maven and Unitils]]
49 21 Andreas Kohlbecker
50
* [[IntegrationTestWriting|IntegrationTests - how to write tests and how to generate test data for them]]
51 20 Andreas Kohlbecker
52
53
54 3 Niels Hoffmann
## Development Hints
55
56 9 Niels Hoffmann
* [[CdmEntityInitalization]]
57
58 3 Niels Hoffmann
* [[CdmLibraryCaveats]]
59
60 5 Niels Hoffmann
* [[TermVocabularyHowTo|HowTo Create a Term Vocabulary]]
61 4 Niels Hoffmann
62 19 Patrick Plitzner
* [[MavenCdmUpdate]]
63 17 Patrick Plitzner
64 4 Niels Hoffmann
65
66 6 Niels Hoffmann
----
67
68 3 Niels Hoffmann
69
70 2 Niels Hoffmann
## External Resources / Links
71
72
73
74
### Hibernate
75
76
* Hibernate works with most current RDBMS. See  [supported databases](http://www.hibernate.org/80.html) 
77
78 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/)
79
80 2 Niels Hoffmann
81
82
### Spring 2.0 Framework
83
84
We use the Spring 2.0 framework to develop the library and keep the coupling of components low.
85
86
*  [Spring2.0 Documentation](http://static.springframework.org/spring/docs/2.0.x/reference/index.html) 
87
88
*  [Introduction to the Spring Framework](http://www.theserverside.com/tt/articles/content/SpringFramework/article.html) 
89
90 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) 
91 2 Niels Hoffmann
92
93
94
### Domain Models
95
96
* [Domain Models and Validation. An Architectural Discussion](http://forum.springframework.org/showthread.php?t=18699)
97
98
* [Avoiding anemic domain models with Hibernate](http://www.theserverside.com/patterns/thread.tss?thread_id=31010)
99
100
* [Business Object Pattern](http://www.corej2eepatterns.com/Patterns2ndEd/BusinessObject.htm)
101
102
*  [AnemicDomainModel Anti Pattern](http://www.martinfowler.com/bliki/AnemicDomainModel.html) 
103
104
105
106
#### Property Change
107
108
* http://www.onjava.com/pub/a/onjava/2004/06/02/desktop.html
109
110
* http://www.javalobby.org/java/forums/t19476.html
111
112
113
114
### Useful Patterns
115
116
* [ApplicationService Pattern](http://www.corej2eepatterns.com/Patterns2ndEd/ApplicationService.htm)
117
118
119
120
121
### Aspect Oriented Programming
122
123
We use AspectJ to implement the change property crosscutting concern:
124
125
* AspectJ
126
127
  * http://today.java.net/pub/a/today/2005/12/15/writing-mixins-with-aop.html
128
129
* JBoss AOP
130
131
  * http://www.damnhandy.com/javabean-aspect/
132
133
* Spring AOP
134
135
  * http://forum.springframework.org/archive/index.php/t-13293.html
136
137
  * http://forum.springframework.com/viewtopic.php?t=301