Z2 Java components intro » History » Revision 5
Revision 4 (Henning Blohm, 21.09.2012 10:11) → Revision 5/13 (Henning Blohm, 21.09.2012 10:21)
h1. An introduction to Z2 Java components The one, probably most essential component type, is that of relationship between 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. Java components play an important role in and 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 API vs. implementation types, class loading delegation that is still simple enough that typical Java in Z2, conventions and Java EE approaches still work without painful adaptations and that you can - in many cases - ignore methods of re-use are described "in the more complex, problematic situations. h2. Conventions h2. API and Implementation h2. Classloading in Z2 h2. Referencing and including Java resources from other modules h2. References * http://www.z2-environment.eu/v21doc#javaComponents documentation":http://www.z2-environment.eu/v21doc#javaComponents.