Modified: zest/site/content/java/develop/two-hours-intro.html
URL: 
http://svn.apache.org/viewvc/zest/site/content/java/develop/two-hours-intro.html?rev=1689812&r1=1689811&r2=1689812&view=diff
==============================================================================
--- zest/site/content/java/develop/two-hours-intro.html (original)
+++ zest/site/content/java/develop/two-hours-intro.html Wed Jul  8 08:36:33 2015
@@ -66,7 +66,7 @@
   })();
  </script>
 
-  </head><body><div xmlns="" xmlns:exsl="http://exslt.org/common"; 
class="logo"><a href="index.html"><img src="images/logo-standard.png" 
/></a></div><div xmlns="" xmlns:exsl="http://exslt.org/common"; 
class="top-nav"><div xmlns="http://www.w3.org/1999/xhtml"; 
class="toc"><dl><dt><span class="section"><a 
href="index.html#home">Qi4j</a></span></dt><dt><span class="section"><a 
href="intro.html">Introduction</a></span></dt><dt><span class="section"><span 
xmlns="" href="tutorials.html">Tutorials</span></span></dt><dt><span 
class="section"><a href="javadocs.html">Javadoc</a></span></dt><dt><span 
class="section"><a href="samples.html">Samples</a></span></dt><dt><span 
class="section"><a href="core.html">Core</a></span></dt><dt><span 
class="section"><a href="libraries.html">Libraries</a></span></dt><dt><span 
class="section"><a href="extensions.html">Extensions</a></span></dt><dt><span 
class="section"><a href="tools.html">Tools</a></span></dt><dt><span 
class="section"><a href="glossary.html">Glo
 ssary </a></span></dt></dl></div></div><div xmlns="" 
xmlns:exsl="http://exslt.org/common"; class="sub-nav"><div 
xmlns="http://www.w3.org/1999/xhtml"; class="toc"><dl><dt><span 
class="section"><a 
href="tutorials.html#_overview">Overview</a></span></dt><dt><span 
class="section"><a href="two-minutes-intro.html">Qi4j in 2 
minutes</a></span></dt><dt><span class="section"><a 
href="ten-minutes-intro.html">Qi4j in 10 minutes</a></span></dt><dt><span 
class="section"><a href="thirty-minutes-intro.html">Qi4j in 30 
minutes</a></span></dt><dt><span class="section"><span xmlns="" 
href="two-hours-intro.html">Qi4j in 2 hours</span></span></dt><dt><span 
class="section"><a href="howto-depend-on-qi4j.html">Depend on Qi4j in your 
build</a></span></dt><dt><span class="section"><a 
href="howto-assemble-application.html">Assemble an 
Application</a></span></dt><dt><span class="section"><a 
href="tut-composites.html">Transient Composites 
Tutorial</a></span></dt><dt><span class="section"><a href="tut-services
 .html">Services Composites Tutorial</a></span></dt><dt><span 
class="section"><a href="howto-contextual-fragments.html">Use contextual 
fragments</a></span></dt><dt><span class="section"><a 
href="howto-leverage-properties.html">Leverage 
Properties</a></span></dt><dt><span class="section"><a 
href="howto-create-constraint.html">Create a 
Constraint</a></span></dt><dt><span class="section"><a 
href="howto-create-concern.html">Create a Concern</a></span></dt><dt><span 
class="section"><a href="howto-create-sideeffect.html">Create a 
SideEffect</a></span></dt><dt><span class="section"><a 
href="howto-create-entity.html">Create an Entity</a></span></dt><dt><span 
class="section"><a href="howto-configure-service.html">Configure a 
Service</a></span></dt><dt><span class="section"><a 
href="howto-use-io.html">Use I/O API</a></span></dt><dt><span 
class="section"><a href="build-system.html">Build 
System</a></span></dt><dt><span class="section"><a 
href="community-docs.html">Writing Qi4j Documentation</a>
 </span></dt></dl></div></div><div class="section" title="Qi4j in 2 hours"><div 
class="titlepage"><div><div><h3 class="title"><a id="two-hours-intro"></a>Qi4j 
in 2 hours</h3></div></div></div><div class="note" title="Note" 
style="margin-left: 0.5in; margin-right: 0.5in;"><h3 
class="title">Note</h3><p>This tutorial is not written yet. Learn how to 
contribute in <a class="xref" href="community-docs.html" title="Writing Qi4j 
Documentation">Writing Documentation</a>.</p></div><p>This introduction assumes 
that the "Qi4j in 10 minutes" and "Qi4j in 30 minutes" introductions has been 
read and
+  </head><body><div xmlns="" xmlns:exsl="http://exslt.org/common"; 
class="logo"><a href="index.html"><img src="images/logo-standard.png" 
/></a></div><div xmlns="" xmlns:exsl="http://exslt.org/common"; 
class="top-nav"><div xmlns="http://www.w3.org/1999/xhtml"; 
class="toc"><dl><dt><span class="section"><a 
href="index.html#home">Qi4j</a></span></dt><dt><span class="section"><a 
href="intro.html">Introduction</a></span></dt><dt><span class="section"><span 
xmlns="" href="tutorials.html">Tutorials</span></span></dt><dt><span 
class="section"><a href="javadocs.html">Javadoc</a></span></dt><dt><span 
class="section"><a href="samples.html">Samples</a></span></dt><dt><span 
class="section"><a href="core.html">Core</a></span></dt><dt><span 
class="section"><a href="libraries.html">Libraries</a></span></dt><dt><span 
class="section"><a href="extensions.html">Extensions</a></span></dt><dt><span 
class="section"><a href="tools.html">Tools</a></span></dt><dt><span 
class="section"><a href="glossary.html">Glo
 ssary </a></span></dt></dl></div></div><div xmlns="" 
xmlns:exsl="http://exslt.org/common"; class="sub-nav"><div 
xmlns="http://www.w3.org/1999/xhtml"; class="toc"><dl><dt><span 
class="section"><a 
href="tutorials.html#_overview">Overview</a></span></dt><dt><span 
class="section"><a href="two-minutes-intro.html">Qi4j in 2 
minutes</a></span></dt><dt><span class="section"><a 
href="ten-minutes-intro.html">Qi4j in 10 minutes</a></span></dt><dt><span 
class="section"><a href="thirty-minutes-intro.html">Qi4j in 30 
minutes</a></span></dt><dt><span class="section"><span xmlns="" 
href="two-hours-intro.html">Qi4j in 2 hours</span></span></dt><dt><span 
class="section"><a href="howto-depend-on-qi4j.html">Depend on Qi4j in your 
build</a></span></dt><dt><span class="section"><a 
href="howto-assemble-application.html">Assemble an 
Application</a></span></dt><dt><span class="section"><a 
href="tut-composites.html">Transient Composites 
Tutorial</a></span></dt><dt><span class="section"><a href="tut-services
 .html">Services Composites Tutorial</a></span></dt><dt><span 
class="section"><a href="howto-contextual-fragments.html">Use contextual 
fragments</a></span></dt><dt><span class="section"><a 
href="howto-leverage-properties.html">Leverage 
Properties</a></span></dt><dt><span class="section"><a 
href="howto-create-constraint.html">Create a 
Constraint</a></span></dt><dt><span class="section"><a 
href="howto-create-concern.html">Create a Concern</a></span></dt><dt><span 
class="section"><a href="howto-create-sideeffect.html">Create a 
SideEffect</a></span></dt><dt><span class="section"><a 
href="howto-create-entity.html">Create an Entity</a></span></dt><dt><span 
class="section"><a href="howto-configure-service.html">Configure a 
Service</a></span></dt><dt><span class="section"><a 
href="howto-invocation-annotation.html">Use 
@Invocation</a></span></dt><dt><span class="section"><a 
href="howto-use-io.html">Use I/O API</a></span></dt><dt><span 
class="section"><a href="build-system.html">Build System</
 a></span></dt><dt><span class="section"><a href="community-docs.html">Writing 
Qi4j Documentation</a></span></dt></dl></div></div><div class="section" 
title="Qi4j in 2 hours"><div class="titlepage"><div><div><h3 class="title"><a 
id="two-hours-intro"></a>Qi4j in 2 hours</h3></div></div></div><div 
class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 
class="title">Note</h3><p>This tutorial is not written yet. Learn how to 
contribute in <a class="xref" href="community-docs.html" title="Writing Qi4j 
Documentation">Writing Documentation</a>.</p></div><p>This introduction assumes 
that the "Qi4j in 10 minutes" and "Qi4j in 30 minutes" introductions has been 
read and
 understood.</p><p>In this introduction we will touch on the core concepts of 
UnitOfWork, Application structure and Bootstrap API.</p><div 
class="itemizedlist"><ul class="itemizedlist"><li class="listitem">
 Persistence and UnitOfWork -
 </li></ul></div><p>We have previously seen that it is easy to declare that a 
Composite should be persisted, but not touched on how to

Modified: zest/site/content/java/develop/two-minutes-intro.html
URL: 
http://svn.apache.org/viewvc/zest/site/content/java/develop/two-minutes-intro.html?rev=1689812&r1=1689811&r2=1689812&view=diff
==============================================================================
--- zest/site/content/java/develop/two-minutes-intro.html (original)
+++ zest/site/content/java/develop/two-minutes-intro.html Wed Jul  8 08:36:33 
2015
@@ -66,11 +66,11 @@
   })();
  </script>
 
-  </head><body><div xmlns="" xmlns:exsl="http://exslt.org/common"; 
class="logo"><a href="index.html"><img src="images/logo-standard.png" 
/></a></div><div xmlns="" xmlns:exsl="http://exslt.org/common"; 
class="top-nav"><div xmlns="http://www.w3.org/1999/xhtml"; 
class="toc"><dl><dt><span class="section"><a 
href="index.html#home">Qi4j</a></span></dt><dt><span class="section"><a 
href="intro.html">Introduction</a></span></dt><dt><span class="section"><span 
xmlns="" href="tutorials.html">Tutorials</span></span></dt><dt><span 
class="section"><a href="javadocs.html">Javadoc</a></span></dt><dt><span 
class="section"><a href="samples.html">Samples</a></span></dt><dt><span 
class="section"><a href="core.html">Core</a></span></dt><dt><span 
class="section"><a href="libraries.html">Libraries</a></span></dt><dt><span 
class="section"><a href="extensions.html">Extensions</a></span></dt><dt><span 
class="section"><a href="tools.html">Tools</a></span></dt><dt><span 
class="section"><a href="glossary.html">Glo
 ssary </a></span></dt></dl></div></div><div xmlns="" 
xmlns:exsl="http://exslt.org/common"; class="sub-nav"><div 
xmlns="http://www.w3.org/1999/xhtml"; class="toc"><dl><dt><span 
class="section"><a 
href="tutorials.html#_overview">Overview</a></span></dt><dt><span 
class="section"><span xmlns="" href="two-minutes-intro.html">Qi4j in 2 
minutes</span></span></dt><dt><span class="section"><a 
href="ten-minutes-intro.html">Qi4j in 10 minutes</a></span></dt><dt><span 
class="section"><a href="thirty-minutes-intro.html">Qi4j in 30 
minutes</a></span></dt><dt><span class="section"><a 
href="two-hours-intro.html">Qi4j in 2 hours</a></span></dt><dt><span 
class="section"><a href="howto-depend-on-qi4j.html">Depend on Qi4j in your 
build</a></span></dt><dt><span class="section"><a 
href="howto-assemble-application.html">Assemble an 
Application</a></span></dt><dt><span class="section"><a 
href="tut-composites.html">Transient Composites 
Tutorial</a></span></dt><dt><span class="section"><a href="tut-services
 .html">Services Composites Tutorial</a></span></dt><dt><span 
class="section"><a href="howto-contextual-fragments.html">Use contextual 
fragments</a></span></dt><dt><span class="section"><a 
href="howto-leverage-properties.html">Leverage 
Properties</a></span></dt><dt><span class="section"><a 
href="howto-create-constraint.html">Create a 
Constraint</a></span></dt><dt><span class="section"><a 
href="howto-create-concern.html">Create a Concern</a></span></dt><dt><span 
class="section"><a href="howto-create-sideeffect.html">Create a 
SideEffect</a></span></dt><dt><span class="section"><a 
href="howto-create-entity.html">Create an Entity</a></span></dt><dt><span 
class="section"><a href="howto-configure-service.html">Configure a 
Service</a></span></dt><dt><span class="section"><a 
href="howto-use-io.html">Use I/O API</a></span></dt><dt><span 
class="section"><a href="build-system.html">Build 
System</a></span></dt><dt><span class="section"><a 
href="community-docs.html">Writing Qi4j Documentation</a>
 </span></dt></dl></div></div><div class="section" title="Qi4j in 2 
minutes"><div class="titlepage"><div><div><h3 class="title"><a 
id="two-minutes-intro"></a>Qi4j in 2 minutes</h3></div></div></div><div 
class="tip" title="Tip" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 
class="title">Tip</h3><p>Theses tutorials are based on actual code found in the 
<code class="literal">tutorials/</code> directory of the
+  </head><body><div xmlns="" xmlns:exsl="http://exslt.org/common"; 
class="logo"><a href="index.html"><img src="images/logo-standard.png" 
/></a></div><div xmlns="" xmlns:exsl="http://exslt.org/common"; 
class="top-nav"><div xmlns="http://www.w3.org/1999/xhtml"; 
class="toc"><dl><dt><span class="section"><a 
href="index.html#home">Qi4j</a></span></dt><dt><span class="section"><a 
href="intro.html">Introduction</a></span></dt><dt><span class="section"><span 
xmlns="" href="tutorials.html">Tutorials</span></span></dt><dt><span 
class="section"><a href="javadocs.html">Javadoc</a></span></dt><dt><span 
class="section"><a href="samples.html">Samples</a></span></dt><dt><span 
class="section"><a href="core.html">Core</a></span></dt><dt><span 
class="section"><a href="libraries.html">Libraries</a></span></dt><dt><span 
class="section"><a href="extensions.html">Extensions</a></span></dt><dt><span 
class="section"><a href="tools.html">Tools</a></span></dt><dt><span 
class="section"><a href="glossary.html">Glo
 ssary </a></span></dt></dl></div></div><div xmlns="" 
xmlns:exsl="http://exslt.org/common"; class="sub-nav"><div 
xmlns="http://www.w3.org/1999/xhtml"; class="toc"><dl><dt><span 
class="section"><a 
href="tutorials.html#_overview">Overview</a></span></dt><dt><span 
class="section"><span xmlns="" href="two-minutes-intro.html">Qi4j in 2 
minutes</span></span></dt><dt><span class="section"><a 
href="ten-minutes-intro.html">Qi4j in 10 minutes</a></span></dt><dt><span 
class="section"><a href="thirty-minutes-intro.html">Qi4j in 30 
minutes</a></span></dt><dt><span class="section"><a 
href="two-hours-intro.html">Qi4j in 2 hours</a></span></dt><dt><span 
class="section"><a href="howto-depend-on-qi4j.html">Depend on Qi4j in your 
build</a></span></dt><dt><span class="section"><a 
href="howto-assemble-application.html">Assemble an 
Application</a></span></dt><dt><span class="section"><a 
href="tut-composites.html">Transient Composites 
Tutorial</a></span></dt><dt><span class="section"><a href="tut-services
 .html">Services Composites Tutorial</a></span></dt><dt><span 
class="section"><a href="howto-contextual-fragments.html">Use contextual 
fragments</a></span></dt><dt><span class="section"><a 
href="howto-leverage-properties.html">Leverage 
Properties</a></span></dt><dt><span class="section"><a 
href="howto-create-constraint.html">Create a 
Constraint</a></span></dt><dt><span class="section"><a 
href="howto-create-concern.html">Create a Concern</a></span></dt><dt><span 
class="section"><a href="howto-create-sideeffect.html">Create a 
SideEffect</a></span></dt><dt><span class="section"><a 
href="howto-create-entity.html">Create an Entity</a></span></dt><dt><span 
class="section"><a href="howto-configure-service.html">Configure a 
Service</a></span></dt><dt><span class="section"><a 
href="howto-invocation-annotation.html">Use 
@Invocation</a></span></dt><dt><span class="section"><a 
href="howto-use-io.html">Use I/O API</a></span></dt><dt><span 
class="section"><a href="build-system.html">Build System</
 a></span></dt><dt><span class="section"><a href="community-docs.html">Writing 
Qi4j Documentation</a></span></dt></dl></div></div><div class="section" 
title="Qi4j in 2 minutes"><div class="titlepage"><div><div><h3 class="title"><a 
id="two-minutes-intro"></a>Qi4j in 2 minutes</h3></div></div></div><div 
class="tip" title="Tip" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 
class="title">Tip</h3><p>Theses tutorials are based on actual code found in the 
<code class="literal">tutorials/</code> directory of the
 <a class="ulink" href="http://qi4j.org/downloads.html"; target="_top">Qi4j SDK 
sources</a>. You should start your favorite editor and find the code related to
 this tutorial, run it and play with it.</p></div><p>To show that Qi4j is not 
necessarily complex, not hard to get going with and easy to deploy, we are 
first showing the
 classic HelloWorld, as small as it can get and still be Composite Oriented 
Programming and not only standard OOP.</p><p>If you want to reproduce what’s 
explained in this tutorial, remember to depend on the Core Runtime artifact 
that depends
-on Core API, Core SPI, Core Bootstrap and Core Functional &amp; I/O 
APIs:</p><div class="table"><a id="idm202886153408"></a><p 
class="title"><strong>Table 1. Artifact</strong></p><div 
class="table-contents"><table summary="Artifact" border="1"><colgroup><col 
class="col_1" /><col class="col_2" /><col class="col_3" 
/></colgroup><thead><tr><th align="left" valign="top">Group ID</th><th 
align="left" valign="top">Artifact ID</th><th align="left" 
valign="top">Version</th></tr></thead><tbody><tr><td align="left" 
valign="top"><p>org.qi4j.core</p></td><td align="left" 
valign="top"><p>org.qi4j.core.runtime</p></td><td align="left" 
valign="top"><p>0</p></td></tr></tbody></table></div></div><br 
class="table-break" /><p>See the <a class="xref" 
href="howto-depend-on-qi4j.html" title="Depend on Qi4j in your build">Depend on 
Qi4j in your build</a> tutorial for details.</p><p>Ready, Set, 
Go!</p><p>Let’s say we want to do the common HelloWorld example, but with a 
more domain-oriented setti
 ng.
+on Core API, Core SPI, Core Bootstrap and Core Functional &amp; I/O 
APIs:</p><div class="table"><a id="idm78349316320"></a><p 
class="title"><strong>Table 1. Artifact</strong></p><div 
class="table-contents"><table summary="Artifact" border="1"><colgroup><col 
class="col_1" /><col class="col_2" /><col class="col_3" 
/></colgroup><thead><tr><th align="left" valign="top">Group ID</th><th 
align="left" valign="top">Artifact ID</th><th align="left" 
valign="top">Version</th></tr></thead><tbody><tr><td align="left" 
valign="top"><p>org.qi4j.core</p></td><td align="left" 
valign="top"><p>org.qi4j.core.runtime</p></td><td align="left" 
valign="top"><p>0</p></td></tr></tbody></table></div></div><br 
class="table-break" /><p>See the <a class="xref" 
href="howto-depend-on-qi4j.html" title="Depend on Qi4j in your build">Depend on 
Qi4j in your build</a> tutorial for details.</p><p>Ready, Set, 
Go!</p><p>Let’s say we want to do the common HelloWorld example, but with a 
more domain-oriented settin
 g.
 We have a Speaker interface that does the talking.
 But we also need an implementation for Speaker, which we declare here via the 
<code class="literal">@Mixins( SpeakerMixin.class )</code>.</p><pre 
class="programlisting brush: java">@Mixins( SpeakerMixin.class )
 public interface Speaker


Reply via email to