Project

General

Profile

Wiki » History » Revision 2

Revision 1 (Henning Blohm, 17.01.2015 11:33) → Revision 2/41 (Henning Blohm, 22.01.2015 16:10)

h1. Intro 

 This project The z2-Environment is an open source infrastructure to develop, configure, and run standard Java solutions *without the need for executing builds nor the need for recurring application deployments* and so *reduces development of [[z2-environment:wiki|z2-environment]] version 3.0. operations costs significantly*. 

 Version 3.0 is a major refactoring release of z2 with new repository The z2-Environment compiles code lines and complete package renaming. 

 h1. Essential Differences between v2.3 loads configuration and v3. resources as required and selectively from local or remote sources, such as your development workspace, a local file system, a remote Git repository, or a Maven artifact repository, *leading to fast development roundtrips and consistent system deployments, and ultimately to minimized integration pains*. 

 * All the typical declarations The z2-Environment implements a simple and package names are no longer *com.zfabrik.<something>* flexible but rather *org.z2env.<something>* 
 * The <z2 home> layout is completely new 
 * While Jetty is still contained to support Eclipsoid effective modularization approach and z2Unit, we support a pre-installed Tomcat as component model that lets you *keep up with the needs of large application container. 
 * The core is lighter and more dedicated.  
 * There will be substantially less application support like a built-in JTA implementation but we will rather demonstrate how to use third-party tools. development*. 

 h1. Draft Documentation [Getting Started] 

 h2. Getting Started 

 To understand how z2 works, you need to understand at most what are z2 modules [modules and components components] and what are component repositories [component repositories] and how these concepts interplay.  

 Check out [[wiki#understanding-z2|understanding-z2]] for that. 

 It is however simplest to start by running a simple Java main program in z2 or a simple Web App. modular context.  

 Follow this trail: 



 To do so, first install a [z2env core] and secondly [write write [A „Hello World“ program] 

 [Extending z2env] 

 Assuming that a hello world program]. command line application is not what you are really up to, there are simple means to extend the [z2env core] with add-ons. Currently the following add-ons are available or planned 

 * [z2env-devtools] Support for development, in particular when using Eclipse and IntelliJ 
 * [z2env-tomcat] Develop modular Web application in z2 and run them in a given Tomcat Web Container (TomEE not tested yet) 
 * [z2env-spring] Supporting utilities to use Spring in Z2 (PLANNED) 
 * [z2env-hibernate] Supporting utilities to use Hibernate/JPA in Z2 (PLANNED) 

 [Install z2env Core] 

 The z2 core is the most fundamental piece of the z2 eco-system, and it is exactly sufficient to run main programs from the command – within the component and module model, as well as with full pull and compile on demand. 

 [A „Hello World“ program] 

 [Understanding Z2] 

 On-Demand => Kein Build => Struktur => Modulkonzept. 

 [Essential Concepts] 

 [The Component Model] 

 [Java Components] 

 [Building the Core]