Project

General

Profile

CdmLibraryDev » History » Version 30

Alexander Oppermann, 01/28/2014 02:46 PM

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