Project

General

Profile

CdmLibraryDev » History » Version 33

Andreas Kohlbecker, 03/28/2014 11:01 AM

1 1 Niels Hoffmann
2
3
4
5
# CDM Library Development Resources
6
7
8 25 Andreas Müller
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://cybertaxonomy.eu/cdmlib
9 1 Niels Hoffmann
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 33 Andreas Kohlbecker
## HowTo
29
30
31
* [[CdmPlatformReleaseSteps|How To do a Cdm Platform Release]]
32
33
34
35 23 Andreas Kohlbecker
## General information
36 8 Niels Hoffmann
37 23 Andreas Kohlbecker
* [[CdmTransactions|Transactions in the CDM library]]
38 1 Niels Hoffmann
39 23 Andreas Kohlbecker
* [[CdmEntityInitalization]]
40 1 Niels Hoffmann
41 23 Andreas Kohlbecker
* [[CdmLibraryCaveats]]
42 14 Andreas Kohlbecker
43 23 Andreas Kohlbecker
* [[TermVocabularyHowTo|HowTo Create a Term Vocabulary]]
44 15 Andreas Kohlbecker
45 24 Andreas Kohlbecker
* [[CdmAuthorisationAndAccessControl|Cdm authorisation and access control]] - security permissions etc
46
47 23 Andreas Kohlbecker
* [[MavenCdmUpdate]]
48 22 Andreas Kohlbecker
49 1 Niels Hoffmann
50 13 Andreas Kohlbecker
51 23 Andreas Kohlbecker
## Tests (writing / running)
52 22 Andreas Kohlbecker
53 23 Andreas Kohlbecker
* [[IntegrationTests|IntegrationTests - Testing java code using Maven and Unitils]]
54 1 Niels Hoffmann
55 23 Andreas Kohlbecker
* [[IntegrationTestWriting|IntegrationTests - how to write tests and how to generate test data for them]]
56 22 Andreas Kohlbecker
57
58 8 Niels Hoffmann
59 23 Andreas Kohlbecker
## Discussion
60 1 Niels Hoffmann
61 23 Andreas Kohlbecker
* [[CdmBrainstorm]] - problems & ideas for the future of the CDM 
62 1 Niels Hoffmann
63 23 Andreas Kohlbecker
* [[CdmLibraryFreetextSearch]] 
64 21 Andreas Kohlbecker
65 23 Andreas Kohlbecker
* [[HibernateSpringAndRowlevelSecurity]]
66 1 Niels Hoffmann
67 23 Andreas Kohlbecker
* [[CdmAuthorisationAndAccessControl]]
68 21 Andreas Kohlbecker
69 20 Andreas Kohlbecker
70
71 32 Andreas Kohlbecker
## cdmlib-remote - RESTful services
72 3 Niels Hoffmann
73 23 Andreas Kohlbecker
* [[CdmServerReadWriteRest]]
74 9 Niels Hoffmann
75 26 Andreas Müller
*  [REST API reference, Object Boundaries, Localization, Content Negotiation, Character Encoding](http://cybertaxonomy.eu/cdmlib/rest-api.html) 
76 3 Niels Hoffmann
77 23 Andreas Kohlbecker
* [[CdmEntityInitalization|Bean/Entity Initialization]]
78
79
* [[CdmRestServicesEntitySerialization|On the serialization of CDM entities in the cdmlib-remote RESTful services]]
80
81 29 Cherian Mathew
* [[CdmRdfWebServices|On RDF responses for cdmlib-remote RESTful services]]
82
83 17 Patrick Plitzner
84 4 Niels Hoffmann
85 32 Andreas Kohlbecker
## cdmlib-remote - Vaadin User Interface
86 30 Alexander Oppermann
87 31 Andreas Kohlbecker
*  [[VaadinNotes|General Vaadin Notes]]
88 30 Alexander Oppermann
89
90
91
92 4 Niels Hoffmann
93 6 Niels Hoffmann
----
94
95 3 Niels Hoffmann
96
97 2 Niels Hoffmann
## External Resources / Links
98
99
100
101
### Hibernate
102
103
* Hibernate works with most current RDBMS. See  [supported databases](http://www.hibernate.org/80.html) 
104
105 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/)
106
107 2 Niels Hoffmann
108
109
### Spring 2.0 Framework
110
111
We use the Spring 2.0 framework to develop the library and keep the coupling of components low.
112
113
*  [Spring2.0 Documentation](http://static.springframework.org/spring/docs/2.0.x/reference/index.html) 
114
115
*  [Introduction to the Spring Framework](http://www.theserverside.com/tt/articles/content/SpringFramework/article.html) 
116
117 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) 
118 2 Niels Hoffmann
119
120
121
### Domain Models
122
123
* [Domain Models and Validation. An Architectural Discussion](http://forum.springframework.org/showthread.php?t=18699)
124
125
* [Avoiding anemic domain models with Hibernate](http://www.theserverside.com/patterns/thread.tss?thread_id=31010)
126
127
* [Business Object Pattern](http://www.corej2eepatterns.com/Patterns2ndEd/BusinessObject.htm)
128
129
*  [AnemicDomainModel Anti Pattern](http://www.martinfowler.com/bliki/AnemicDomainModel.html) 
130
131
132
133
#### Property Change
134
135
* http://www.onjava.com/pub/a/onjava/2004/06/02/desktop.html
136
137
* http://www.javalobby.org/java/forums/t19476.html
138
139
140
141
### Useful Patterns
142
143
* [ApplicationService Pattern](http://www.corej2eepatterns.com/Patterns2ndEd/ApplicationService.htm)
144
145
146
147
148
### Aspect Oriented Programming
149
150
We use AspectJ to implement the change property crosscutting concern:
151
152
* AspectJ
153
154
  * http://today.java.net/pub/a/today/2005/12/15/writing-mixins-with-aop.html
155
156
* JBoss AOP
157
158
  * http://www.damnhandy.com/javabean-aspect/
159
160
* Spring AOP
161
162
  * http://forum.springframework.org/archive/index.php/t-13293.html
163
164
  * http://forum.springframework.com/viewtopic.php?t=301