Project

General

Profile

V30-experimental retired » History » Version 14

Henning Blohm, 22.01.2015 15:28

1 1 Henning Blohm
h1. Z2-Environment version 3.0
2
3
Version 3.0 is in progress
4
5 13 Henning Blohm
The main goals for 3.0 is to provide features that simplify user adoption
6 3 Henning Blohm
7 14 Henning Blohm
h2. Move to org domain
8
9
* We will refactor all core code into *org.z2env*.
10
11 13 Henning Blohm
h2. Simplified and lighter setup
12 1 Henning Blohm
13 13 Henning Blohm
* Provide completely local installation via a root repository that features local FSCR addon repositories
14
* Provide a stripped-down base installation that is essentially only capable of running main programs.
15
* Split the base addon into individual addons for:
16
** dev tools (z2unit, eclipsoid)
17
** tomcat hookup
18
** worker support
19
** etc.
20 1 Henning Blohm
21
h2. Free Web Container Choice
22
23 3 Henning Blohm
It should be possible to use a Web Container of choice, as long as it is Jetty or Tomcat. Our tests indicate that it should be simple to programmatically control any pre-installed instance.
24 1 Henning Blohm
25 5 Henning Blohm
* Provide a web container resource that hooks up with a pre-configured web container OR a self-hosted web container
26 6 Henning Blohm
* This will require some creative business with the servlet/jsp and Web Container class path
27 3 Henning Blohm
28 13 Henning Blohm
29
30
31
h2. Provide consistent and complete system export
32
33
* Support binary or source-preserving export
34
* Provide clean component name escaping so we can also export mvn-provided artifacts if desired
35
* so we can offer a complete base distribution as binary download
36
* Running samples means to clone co-located Git Repos
37
* Make re-binding of repository locations simpler (e.g. a remote repo becomes a local FS repo after export)
38
* Support single-process mode (e.g. no Worker mode - move worker support into an add-on)
39
40 7 Henning Blohm
h2. Improvements
41 1 Henning Blohm
42 2 Henning Blohm
* Provide a z2 for dummies introduction that starts with simple, include-based web apps
43 11 Henning Blohm
* Seamless support of Maven repositories (see [[V23]], [[maven_repo_support]])
44
** Including install into repository from z2
45
* Use string revisions rather than longs (so that natural versions are better supported)
46
* Introduce "Java Templates", Java (and others) Component configuration made simpler (see [[smart_props]])
47
* Port add-ons and samples to maven repos for external artifacts
48
* Drop "I" interface notation
49 8 Henning Blohm
* Drop resource instance on every invalidation.
50 1 Henning Blohm
* Define component name escaping for the file system repo helper
51 8 Henning Blohm
* Introduce boot repository *at* Z2_HOME into ComponentsManager 
52
** Auto-discover other repos at Z2_HOME
53
** Default "." as dev repo workspace
54
** launch purely from "java -jar z.jar"
55
** Introduce moduleName property for "free-floating" components
56
** Introduce repository adapter type.
57
* Folders for operation
58
** org.zding.home --> shared repos entry point, work and data store (==> repos, in particular DEV repo must use folder-unique work key). Defaults from Z2_HOME.
59
** org.zding.dev.workspaces --> workspaces to check for dev repo component overrides. Defaults from "."
60
* Use /code instead of /java to be more agnostic to the language in use
61
62 12 Henning Blohm
63
64
h2. Proposals
65 1 Henning Blohm
66
h3. Local Install Layout
67
68 13 Henning Blohm
Introducing an extended file system repo support and better split of resource and work dirs, the follwing _typical_ layout is suggested:
69 1 Henning Blohm
70
<pre>
71 13 Henning Blohm
+-<$CATALINA_HOME>
72 12 Henning Blohm
|
73
+-zding
74 13 Henning Blohm
|  +-boot (boot repo)
75
|  +-root
76 12 Henning Blohm
|    +- zding-essentials
77 8 Henning Blohm
|    +- zding-jetty
78
|    +- zding-devtools  
79 13 Henning Blohm
|    +- zding-tomcat  
80 8 Henning Blohm
|  +-zding.jar
81
|
82
+-<armed module 1>
83 1 Henning Blohm
+-<armed module 2>
84 10 Henning Blohm
|
85
+-<git repo 1>
86
</pre>
87
88
h3. Repository Export
89
90
We will enhance the repository export so that given a number of repository component names (possibly including mvn repos), a complete export, in source or binary, will be put into a structure as outlined above. 
91
92
* Repository Component Names can be mapped
93
* We will introduce a component name escaping pattern to support maven originated components as well 
94
95
h3. Review of Software Component Responsibilities
96
97
+core+
98
99 1 Henning Blohm
* Component and Module Model
100
* Component Types:
101
** System State
102
** Java / Compiler
103
** "main" programs
104
** "any"