Project

General

Profile

Z2 Java components intro » History » Version 5

Henning Blohm, 21.09.2012 10:21

1 1 Henning Blohm
h1. An introduction to Z2 Java components
2
3 5 Henning Blohm
The one, probably most essential component type, is that of Java components. Per se, modules in Z2 are not "Java modules" (unlike in OSGi for example). From its underlying model, Java code is handled like any other component resource. There is however important conventions that do make Java components special.
4
5
Java components play an important role in Z2 modularization, as re-use of code is one of the driving motivations for modularization. Z2 offers a moderately sophisticated way of re-use via inclusion or class loading delegation that is still simple enough that typical Java and Java EE approaches still work without painful adaptations and that you can - in many cases - ignore the more complex, problematic situations. 
6
7
h2. Conventions
8
9
h2. API and Implementation
10
11
h2. Classloading in Z2
12
13
h2. Referencing and including Java resources from other modules
14
15
16
17
h2. References
18
19
* http://www.z2-environment.eu/v21doc#javaComponents