Project

General

Profile

CdmLibraryDev » History » Version 54

Andreas Kohlbecker, 12/21/2017 10:54 AM

1 1 Niels Hoffmann
# CDM Library Development Resources
2 1 Niels Hoffmann
3 1 Niels Hoffmann
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 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 1 Niels Hoffmann
* [[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 45 Andreas Kohlbecker
* [[HibernateSpringAndRowlevelSecurity]]
26 53 Andreas Kohlbecker
* Discussion and concepts
27 54 Andreas Kohlbecker
   * [[WorkshopRightsAndRoles2017-11|Rights&Roles Workshop 2017-11]]
28 1 Niels Hoffmann
29 45 Andreas Kohlbecker
### Searching
30 1 Niels Hoffmann
31 1 Niels Hoffmann
* [[CdmLibraryFreetextSearch]] 
32 1 Niels Hoffmann
33 45 Andreas Kohlbecker
### cdmlib-remote - RESTful services
34 1 Niels Hoffmann
35 1 Niels Hoffmann
* [[CdmServerReadWriteRest]]
36 50 Andreas Kohlbecker
* [REST API reference, Object Boundaries, Localization, Content Negotiation, Character Encoding](http://cybertaxonomy.eu/cdmlib/rest-api.html) 
37 1 Niels Hoffmann
* [[CdmEntityInitalization|Bean/Entity Initialization]]
38 1 Niels Hoffmann
* [[CdmRestServicesEntitySerialization|On the serialization of CDM entities in the cdmlib-remote RESTful services]]
39 1 Niels Hoffmann
* [[CdmRdfWebServices|On RDF responses for cdmlib-remote RESTful services]]
40 1 Niels Hoffmann
41 1 Niels Hoffmann
### cdmlib-remote-webapp
42 1 Niels Hoffmann
43 1 Niels Hoffmann
* [[cdmlib-remote-webappConfigurationAndBootstrapping|cdmlib-remote-webapp configuration and bootstrapping]]
44 1 Niels Hoffmann
45 46 Andreas Kohlbecker
## cdm-vaadin - CDM Vaadin UI
46 46 Andreas Kohlbecker
47 52 Andreas Kohlbecker
* [[VaadinNotes]] - design paterns, the cdm-vaadin project, vaadin run modes, managing sessions, ...
48 51 Andreas Kohlbecker
* [[VaadinEditorDevelopersGuide|Vaadin Developer Guide]] - workspace setup, launching, test urls
49 46 Andreas Kohlbecker
50 45 Andreas Kohlbecker
## Conventions & Policies
51 45 Andreas Kohlbecker
52 45 Andreas Kohlbecker
* [[CdmLibraryConventions]]
53 1 Niels Hoffmann
* [[EclipsePreferencesforTeams]]
54 50 Andreas Kohlbecker
 * --> [prefs_remote_workspace_preferences.epf](http://dev.e-taxonomy.eu/svn/trunk/devtools/eclipse/4.x/prefs/prefs_remote_workspace_preferences.epf)
55 50 Andreas Kohlbecker
 * --> [CDM-Java-Code-Template.xml](http://dev.e-taxonomy.eu/svn/trunk/devtools/eclipse/4.x/prefs/CDM-Java-Code-Template.xml)
56 45 Andreas Kohlbecker
57 45 Andreas Kohlbecker
## Tests (writing / running)
58 45 Andreas Kohlbecker
59 45 Andreas Kohlbecker
* [[IntegrationTests|IntegrationTests - Testing java code using Maven and Unitils]]
60 45 Andreas Kohlbecker
* [[IntegrationTestWriting|IntegrationTests - how to write tests and how to generate test data for them]]
61 45 Andreas Kohlbecker
62 45 Andreas Kohlbecker
## Debugging
63 45 Andreas Kohlbecker
64 45 Andreas Kohlbecker
* [[DebugC3P0Connections|How to debug leaking C3P0 connections]]
65 45 Andreas Kohlbecker
66 42 Andreas Kohlbecker
## Discussion (historic)
67 35 Cherian Mathew
68 44 Andreas Kohlbecker
* [[CdmBrainstorm]] - problems & ideas for the future of the CDM 
69 45 Andreas Kohlbecker
70 4 Niels Hoffmann
71 6 Niels Hoffmann
----
72 3 Niels Hoffmann
73 3 Niels Hoffmann
## External Resources / Links
74 2 Niels Hoffmann
75 2 Niels Hoffmann
76 2 Niels Hoffmann
### Hibernate
77 2 Niels Hoffmann
78 2 Niels Hoffmann
* Hibernate works with most current RDBMS. See  [supported databases](http://www.hibernate.org/80.html) 
79 2 Niels Hoffmann
* [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 2 Niels Hoffmann
### Spring 2.0 Framework
83 2 Niels Hoffmann
84 2 Niels Hoffmann
We use the Spring 2.0 framework to develop the library and keep the coupling of components low.
85 2 Niels Hoffmann
86 2 Niels Hoffmann
*  [Spring2.0 Documentation](http://static.springframework.org/spring/docs/2.0.x/reference/index.html) 
87 2 Niels Hoffmann
*  [Introduction to the Spring Framework](http://www.theserverside.com/tt/articles/content/SpringFramework/article.html) 
88 2 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) 
89 7 Niels Hoffmann
90 2 Niels Hoffmann
91 2 Niels Hoffmann
### Domain Models
92 2 Niels Hoffmann
93 2 Niels Hoffmann
* [Domain Models and Validation. An Architectural Discussion](http://forum.springframework.org/showthread.php?t=18699)
94 2 Niels Hoffmann
* [Avoiding anemic domain models with Hibernate](http://www.theserverside.com/patterns/thread.tss?thread_id=31010)
95 2 Niels Hoffmann
* [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 2 Niels Hoffmann
99 2 Niels Hoffmann
#### Property Change
100 2 Niels Hoffmann
101 2 Niels Hoffmann
* http://www.onjava.com/pub/a/onjava/2004/06/02/desktop.html
102 2 Niels Hoffmann
* http://www.javalobby.org/java/forums/t19476.html
103 2 Niels Hoffmann
104 2 Niels Hoffmann
105 2 Niels Hoffmann
### Useful Patterns
106 2 Niels Hoffmann
107 2 Niels Hoffmann
* [ApplicationService Pattern](http://www.corej2eepatterns.com/Patterns2ndEd/ApplicationService.htm)
108 2 Niels Hoffmann
109 2 Niels Hoffmann
110 2 Niels Hoffmann
### Aspect Oriented Programming
111 2 Niels Hoffmann
112 2 Niels Hoffmann
We use AspectJ to implement the change property crosscutting concern:
113 2 Niels Hoffmann
114 2 Niels Hoffmann
* AspectJ
115 2 Niels Hoffmann
  * http://today.java.net/pub/a/today/2005/12/15/writing-mixins-with-aop.html
116 2 Niels Hoffmann
* JBoss AOP
117 2 Niels Hoffmann
  * http://www.damnhandy.com/javabean-aspect/
118 2 Niels Hoffmann
* Spring AOP
119 2 Niels Hoffmann
  * http://forum.springframework.org/archive/index.php/t-13293.html
120 2 Niels Hoffmann
  * http://forum.springframework.com/viewtopic.php?t=301
Add picture from clipboard (Maximum size: 40 MB)