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