Project

General

Profile

CdmLibraryDev » History » Version 63

Andreas Müller, 02/28/2023 03:58 PM

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