Project

General

Profile

CdmLibraryDev » History » Version 44

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