Project

General

Profile

Actions

Getting Started » History » Revision 21

« Previous | Revision 21/33 (diff) | Next »
Henning Blohm, 02.03.2015 09:38


Getting Started with org.z2env

See also FAQ

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

Check out Understanding Z2 for that.

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

Follow this trail:


Building z2env-core

(For now, we need to build the core).


Running a Hello World main program

In this section we will let z2 do what it is actually made for: Run some Java program in a modular environment without build and deploy.


Running a Hello World Web App

Rather than just running a Main program, using the Tomcat add-on we might as well run full-featured Web applications - of course: From anywhere, without build and deploy.


Developing with Eclipse or IntelliJ

In this section we will add some code to the hello Web app and see how to develop using an integrated development environment like the Eclipse IDE or Jetbrains' IntelliJ IDEA.


Going Multi-Module

In this section we will extend the previous work by a simple service module.


Going System-Centric

In this section we show how to turn your z2 installation into a mere execution node of a system (which is what it really should be). That is, in team development situations for systems of non-trivial size of distribution requirements, it is crucial to be integrated with a common source code level.


Understanding the <HOME>

We call an installation of a z2env core a <home>. The file structure of the <home> consists of few but important locations.


Understanding Z2

Most of the concepts that make up z2 can be derived from the desire to efficiently develop standard Java Web Applications that are defined in a central system definition. Add to that the wish to avoid all that build complexity and the desire for a practically usable modularization approach.

Updated by Henning Blohm about 9 years ago · 21 revisions