Return-Path:
X-Original-To: apmail-zest-commits-archive@minotaur.apache.org
Delivered-To: apmail-zest-commits-archive@minotaur.apache.org
Received: from mail.apache.org (hermes.apache.org [140.211.11.3])
by minotaur.apache.org (Postfix) with SMTP id CA43018F84
for ;
Mon, 15 Jun 2015 10:37:05 +0000 (UTC)
Received: (qmail 99664 invoked by uid 500); 15 Jun 2015 10:37:05 -0000
Delivered-To: apmail-zest-commits-archive@zest.apache.org
Received: (qmail 99613 invoked by uid 500); 15 Jun 2015 10:37:05 -0000
Mailing-List: contact commits-help@zest.apache.org; run by ezmlm
Precedence: bulk
List-Help:
List-Unsubscribe:
List-Post:
List-Id:
Reply-To: dev@zest.apache.org
Delivered-To: mailing list commits@zest.apache.org
Received: (qmail 99558 invoked by uid 99); 15 Jun 2015 10:37:05 -0000
Received: from eris.apache.org (HELO hades.apache.org) (140.211.11.105)
by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jun 2015 10:37:05 +0000
Received: from hades.apache.org (localhost [127.0.0.1])
by hades.apache.org (ASF Mail Server at hades.apache.org) with ESMTP id
88A75AC0A57
for ; Mon, 15 Jun 2015 10:37:05 +0000 (UTC)
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Subject: svn commit: r1685534 [13/15] - in /zest/site/content/qi4j/develop: ./
css/
Date: Mon, 15 Jun 2015 10:37:03 -0000
To: commits@zest.apache.org
From: paulmerlin@apache.org
X-Mailer: svnmailer-1.0.9
Message-Id: <20150615103705.88A75AC0A57@hades.apache.org>
Modified: zest/site/content/qi4j/develop/two-minutes-intro.html
URL: http://svn.apache.org/viewvc/zest/site/content/qi4j/develop/two-minutes-intro.html?rev=1685534&r1=1685533&r2=1685534&view=diff
==============================================================================
--- zest/site/content/qi4j/develop/two-minutes-intro.html (original)
+++ zest/site/content/qi4j/develop/two-minutes-intro.html Mon Jun 15 10:37:01 2015
@@ -70,7 +70,7 @@
Qi4j SDK sources. You should start your favorite editor and find the code related to
this tutorial, run it and play with it.
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.
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 & I/O APIs:
Table 1. Artifact
Group ID | Artifact ID | Version |
---|
org.qi4j.core | org.qi4j.core.runtime | 0 |
See the Depend on Qi4j in your build tutorial for details.
Ready, Set, Go!
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 & I/O APIs:
Table 1. Artifact
Group ID | Artifact ID | Version |
---|
org.qi4j.core | org.qi4j.core.runtime | 0 |
See the Depend on Qi4j in your build tutorial for details.
Ready, Set, Go!
Letâs say we want to do the common HelloWorld example, but with a more domain-oriented setti
ng.
We have a Speaker interface that does the talking.
But we also need an implementation for Speaker, which we declare here via the @Mixins( SpeakerMixin.class )
.
@Mixins( SpeakerMixin.class )
public interface Speaker
@@ -112,4 +112,9 @@ The SingletonAssembler is a convenience
We declare a TransientComposite of type Speaker
.
We create the Composite instance from the Module.
-Done!