Project

General

Profile

CdmLibraryDev » History » Version 49

Andreas Kohlbecker, 01/17/2017 04:01 PM

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