Project

General

Profile

CdmLibraryDev » History » Version 20

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