CdmLibraryDev » History » Version 22
Andreas Kohlbecker, 03/05/2013 03:13 PM
1 | 1 | Niels Hoffmann | |
---|---|---|---|
2 | |||
3 | |||
4 | |||
5 | # CDM Library Development Resources |
||
6 | |||
7 | |||
8 | 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://wp5.e-taxonomy.eu/cdmlib |
||
9 | |||
10 | |||
11 | {{>toc}} |
||
12 | 2 | Niels Hoffmann | |
13 | |||
14 | |||
15 | |||
16 | |||
17 | ---- |
||
18 | |||
19 | |||
20 | 11 | Andreas Kohlbecker | ## Conventions & Policies |
21 | 10 | Andreas Kohlbecker | |
22 | 1 | Niels Hoffmann | * [[CdmLibraryConventions]] |
23 | 11 | Andreas Kohlbecker | |
24 | * [[CdmReleasePolicy|CDM Release, Versioning & Branch Policy]] |
||
25 | 10 | Andreas Kohlbecker | |
26 | 2 | Niels Hoffmann | |
27 | 8 | Niels Hoffmann | |
28 | 13 | Andreas Kohlbecker | ## Discussion |
29 | 8 | Niels Hoffmann | |
30 | 16 | Andreas Kohlbecker | * [[CdmBrainstorm]] - problems & ideas for the future of the CDM |
31 | 1 | Niels Hoffmann | |
32 | 13 | Andreas Kohlbecker | * [[CdmLibraryFreetextSearch]] |
33 | |||
34 | 14 | Andreas Kohlbecker | * [[HibernateSpringAndRowlevelSecurity]] |
35 | |||
36 | 15 | Andreas Kohlbecker | * [[CdmAuthorisationAndAccessControl]] |
37 | |||
38 | 13 | Andreas Kohlbecker | |
39 | |||
40 | 22 | Andreas Kohlbecker | ## cdmlib-remote RESTful services |
41 | 13 | Andreas Kohlbecker | |
42 | 1 | Niels Hoffmann | * [[CdmServerReadWriteRest]] |
43 | 22 | Andreas Kohlbecker | |
44 | * [REST API reference, Object Boundaries, Localization, Content Negotiation, Character Encoding](http://wp5.e-taxonomy.eu/cdmlib/rest-api.html) |
||
45 | |||
46 | * [[CdmEntityInitalization|Bean/Entity Initialization]] |
||
47 | |||
48 | * [[CdmRestServicesEntitySerialization|On the serialization of CDM entities in the cdmlib-remote RESTful services]] |
||
49 | 8 | Niels Hoffmann | |
50 | |||
51 | 3 | Niels Hoffmann | |
52 | 21 | Andreas Kohlbecker | ## Tests |
53 | 20 | Andreas Kohlbecker | |
54 | 1 | Niels Hoffmann | * [[IntegrationTests|IntegrationTests - Testing java code using Maven and Unitils]] |
55 | 21 | Andreas Kohlbecker | |
56 | * [[IntegrationTestWriting|IntegrationTests - how to write tests and how to generate test data for them]] |
||
57 | 20 | Andreas Kohlbecker | |
58 | |||
59 | |||
60 | 3 | Niels Hoffmann | ## Development Hints |
61 | |||
62 | 9 | Niels Hoffmann | * [[CdmEntityInitalization]] |
63 | |||
64 | 3 | Niels Hoffmann | * [[CdmLibraryCaveats]] |
65 | |||
66 | 5 | Niels Hoffmann | * [[TermVocabularyHowTo|HowTo Create a Term Vocabulary]] |
67 | 4 | Niels Hoffmann | |
68 | 19 | Patrick Plitzner | * [[MavenCdmUpdate]] |
69 | 17 | Patrick Plitzner | |
70 | 4 | Niels Hoffmann | |
71 | |||
72 | 6 | Niels Hoffmann | ---- |
73 | |||
74 | 3 | Niels Hoffmann | |
75 | |||
76 | 2 | Niels Hoffmann | ## External Resources / Links |
77 | |||
78 | |||
79 | |||
80 | ### Hibernate |
||
81 | |||
82 | * Hibernate works with most current RDBMS. See [supported databases](http://www.hibernate.org/80.html) |
||
83 | |||
84 | 12 | Andreas Müller | * [On CascadeType.DELETE and CascadeType=DELETE_ORPHAN](http://www.mkyong.com/hibernate/hibernate-cascade-example-save-update-delete-and-delete-orphan/) |
85 | |||
86 | 2 | Niels Hoffmann | |
87 | |||
88 | ### Spring 2.0 Framework |
||
89 | |||
90 | We use the Spring 2.0 framework to develop the library and keep the coupling of components low. |
||
91 | |||
92 | * [Spring2.0 Documentation](http://static.springframework.org/spring/docs/2.0.x/reference/index.html) |
||
93 | |||
94 | * [Introduction to the Spring Framework](http://www.theserverside.com/tt/articles/content/SpringFramework/article.html) |
||
95 | |||
96 | 7 | 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) |
97 | 2 | Niels Hoffmann | |
98 | |||
99 | |||
100 | ### Domain Models |
||
101 | |||
102 | * [Domain Models and Validation. An Architectural Discussion](http://forum.springframework.org/showthread.php?t=18699) |
||
103 | |||
104 | * [Avoiding anemic domain models with Hibernate](http://www.theserverside.com/patterns/thread.tss?thread_id=31010) |
||
105 | |||
106 | * [Business Object Pattern](http://www.corej2eepatterns.com/Patterns2ndEd/BusinessObject.htm) |
||
107 | |||
108 | * [AnemicDomainModel Anti Pattern](http://www.martinfowler.com/bliki/AnemicDomainModel.html) |
||
109 | |||
110 | |||
111 | |||
112 | #### Property Change |
||
113 | |||
114 | * http://www.onjava.com/pub/a/onjava/2004/06/02/desktop.html |
||
115 | |||
116 | * http://www.javalobby.org/java/forums/t19476.html |
||
117 | |||
118 | |||
119 | |||
120 | ### Useful Patterns |
||
121 | |||
122 | * [ApplicationService Pattern](http://www.corej2eepatterns.com/Patterns2ndEd/ApplicationService.htm) |
||
123 | |||
124 | |||
125 | |||
126 | |||
127 | ### Aspect Oriented Programming |
||
128 | |||
129 | We use AspectJ to implement the change property crosscutting concern: |
||
130 | |||
131 | * AspectJ |
||
132 | |||
133 | * http://today.java.net/pub/a/today/2005/12/15/writing-mixins-with-aop.html |
||
134 | |||
135 | * JBoss AOP |
||
136 | |||
137 | * http://www.damnhandy.com/javabean-aspect/ |
||
138 | |||
139 | * Spring AOP |
||
140 | |||
141 | * http://forum.springframework.org/archive/index.php/t-13293.html |
||
142 | |||
143 | * http://forum.springframework.com/viewtopic.php?t=301 |