Project

General

Profile

CdmLibraryDev » History » Version 45

Andreas Kohlbecker, 01/17/2017 03:36 PM

1 1 Niels Hoffmann
# CDM Library Development Resources
2
3
4 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
5 1 Niels Hoffmann
6
{{>toc}}
7 2 Niels Hoffmann
8
----
9
10 10 Andreas Kohlbecker
11 1 Niels Hoffmann
12 45 Andreas Kohlbecker
## Releases
13 37 Andreas Müller
14 33 Andreas Kohlbecker
* [[CdmPlatformReleaseSteps|How To do a Cdm Platform Release]]
15 45 Andreas Kohlbecker
* [[CdmReleasePolicy|CDM Release, Versioning & Branch Policy]]
16 38 Cherian Mathew
17 45 Andreas Kohlbecker
## CDM Internals
18 8 Niels Hoffmann
19 1 Niels Hoffmann
* [[CdmTransactions|Transactions in the CDM library]]
20 23 Andreas Kohlbecker
* [[CdmEntityInitalization]]
21 1 Niels Hoffmann
* [[CdmLibraryCaveats]]
22 23 Andreas Kohlbecker
* [[CdmClassificationRankSpecificRootnodes|Rank Specific Rootnodes of Classifications]]
23 1 Niels Hoffmann
* [[TermVocabularyHowTo|HowTo Create a Term Vocabulary]]
24 41 Andreas Kohlbecker
* [[MavenCdmUpdate]]
25 24 Andreas Kohlbecker
26 45 Andreas Kohlbecker
### Authentication, authorization, access control
27 23 Andreas Kohlbecker
28 45 Andreas Kohlbecker
* [[CdmAuthorisationAndAccessControl|Cdm authorisation and access control]] - security permissions etc
29
* [[HibernateSpringAndRowlevelSecurity]]
30 1 Niels Hoffmann
31 45 Andreas Kohlbecker
### Searching
32 1 Niels Hoffmann
33
* [[CdmLibraryFreetextSearch]] 
34
35 45 Andreas Kohlbecker
### cdmlib-remote - RESTful services
36 1 Niels Hoffmann
37
* [[CdmServerReadWriteRest]]
38
*  [REST API reference, Object Boundaries, Localization, Content Negotiation, Character Encoding](http://cybertaxonomy.eu/cdmlib/rest-api.html) 
39
* [[CdmEntityInitalization|Bean/Entity Initialization]]
40
* [[CdmRestServicesEntitySerialization|On the serialization of CDM entities in the cdmlib-remote RESTful services]]
41
* [[CdmRdfWebServices|On RDF responses for cdmlib-remote RESTful services]]
42
43 45 Andreas Kohlbecker
### cdmlib-remote-webapp
44 1 Niels Hoffmann
45
* [[cdmlib-remote-webappConfigurationAndBootstrapping|cdmlib-remote-webapp configuration and bootstrapping]]
46
47 45 Andreas Kohlbecker
## Conventions & Policies
48
49
* [[CdmLibraryConventions]]
50
* [[EclipsePreferencesforTeams]]
51
52
## Tests (writing / running)
53
54
* [[IntegrationTests|IntegrationTests - Testing java code using Maven and Unitils]]
55
* [[IntegrationTestWriting|IntegrationTests - how to write tests and how to generate test data for them]]
56
57
## Debugging
58
59
* [[DebugC3P0Connections|How to debug leaking C3P0 connections]]
60
61
## Discussion (historic)
62
63
* [[CdmBrainstorm]] - problems & ideas for the future of the CDM 
64
65
66 42 Andreas Kohlbecker
## cdm-vaadin - CDM Vaadin Framework
67 35 Cherian Mathew
68 44 Andreas Kohlbecker
* [[VaadinNotes]]
69 45 Andreas Kohlbecker
* [[VaadinEditorDevelopersGuide|Vaadin Developer Guide]]
70 4 Niels Hoffmann
71 6 Niels Hoffmann
----
72 3 Niels Hoffmann
73
## External Resources / Links
74 2 Niels Hoffmann
75
76
### Hibernate
77
78
* Hibernate works with most current RDBMS. See  [supported databases](http://www.hibernate.org/80.html) 
79
* [On CascadeType.DELETE and CascadeType=DELETE_ORPHAN](http://www.mkyong.com/hibernate/hibernate-cascade-example-save-update-delete-and-delete-orphan/)
80 12 Andreas Müller
81 2 Niels Hoffmann
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
*  [Introduction to the Spring Framework](http://www.theserverside.com/tt/articles/content/SpringFramework/article.html) 
88
*  [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 7 Niels Hoffmann
90 2 Niels Hoffmann
91
### Domain Models
92
93
* [Domain Models and Validation. An Architectural Discussion](http://forum.springframework.org/showthread.php?t=18699)
94
* [Avoiding anemic domain models with Hibernate](http://www.theserverside.com/patterns/thread.tss?thread_id=31010)
95
* [Business Object Pattern](http://www.corej2eepatterns.com/Patterns2ndEd/BusinessObject.htm)
96 44 Andreas Kohlbecker
* [AnemicDomainModel Anti Pattern](http://www.martinfowler.com/bliki/AnemicDomainModel.html) 
97 2 Niels Hoffmann
98
99
#### Property Change
100
101
* http://www.onjava.com/pub/a/onjava/2004/06/02/desktop.html
102
* http://www.javalobby.org/java/forums/t19476.html
103
104
105
### Useful Patterns
106
107
* [ApplicationService Pattern](http://www.corej2eepatterns.com/Patterns2ndEd/ApplicationService.htm)
108
109
110
### Aspect Oriented Programming
111
112
We use AspectJ to implement the change property crosscutting concern:
113
114
* AspectJ
115
  * http://today.java.net/pub/a/today/2005/12/15/writing-mixins-with-aop.html
116
* JBoss AOP
117
  * http://www.damnhandy.com/javabean-aspect/
118
* Spring AOP
119
  * http://forum.springframework.org/archive/index.php/t-13293.html
120
  * http://forum.springframework.com/viewtopic.php?t=301