Project

General

Profile

CdmLibraryDev » History » Version 42

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