Commit 4e32fcf3 authored by Christophe Demarey's avatar Christophe Demarey
Browse files

Add java 1.6 requirement for the hw-script example.

parent b66ac1b1
......@@ -2,74 +2,99 @@
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
<chapter>
<title>FraSCAti examples</title>
<para>This section lists the examples available in the distribution. Each
example provides a README file with a short description of the example and
how to test it.</para>
<para>The three first examples are used by the tutorial to show how to
develop an SCA application with <emphasis role="bold">POJO</emphasis>
(Plain Old Java Objects), with <emphasis role="bold">Java
Annotations</emphasis>, and with a <emphasis role="bold">remote
binding</emphasis>:</para>
<itemizedlist>
<listitem>helloworld-pojo,</listitem>
<listitem>helloworld-annotated,</listitem>
<listitem>helloworld-rmi.</listitem>
</itemizedlist>
<para>Next examples show how to use <emphasis role="bold">web
services</emphasis> with FraSCAti:</para>
<itemizedlist>
<listitem>helloworld-ws (client and server),</listitem>
<listitem>calculator (client and server),</listitem>
<listitem>weather,</listitem>
<listitem>verify-mail,</listitem>
<listitem>isbn-test,</listitem>
<listitem>dictionary.</listitem>
</itemizedlist>
<para>Next examples show how to use the <emphasis
role="bold">REST</emphasis>ful binding with FraSCAti:</para>
<itemizedlist>
<listitem>twitter-rest (client),</listitem>
<listitem>counter-rest (client and server).</listitem>
</itemizedlist>
<para>The chat example shows how to expose an SCA service in a Java
<emphasis role="bold">RMI</emphasis> registry and how to consume it with
SCA clients: one basic command line client and one GUI client. The
<emphasis role="bold">GUI client</emphasis> shows how to load SCA
composites from standards Java objects.</para>
<para>All previous examples are using primitive components with a Java
implementation. Next example illustrates how to develop a primitive SCA
component with a <emphasis role="bold">script
implementation</emphasis>:</para>
<itemizedlist>
<listitem>helloworld-script</listitem>
</itemizedlist>
<para>Finally, the following example shows how to <emphasis
role="bold">compose</emphasis> two examples of FraSCAti: the Twitter one
and the Weather one. This example retrieve the location of a given Twitter
user then use the weather service to get the current weather in the
Twitter user's city.</para>
<itemizedlist>
<listitem>twitter-weather</listitem>
</itemizedlist>
<title>FraSCAti examples</title>
<para>This section lists the examples available in the distribution. Each
example provides a README file with a short description of the example and
how to test it.</para>
<para>The three first examples are used by the tutorial to show how to
develop an SCA application with <emphasis role="bold">POJO</emphasis> (Plain
Old Java Objects), with <emphasis role="bold">Java Annotations</emphasis>,
and with a <emphasis role="bold">remote binding</emphasis>:</para>
<itemizedlist>
<listitem>
helloworld-pojo,
</listitem>
<listitem>
helloworld-annotated,
</listitem>
<listitem>
helloworld-rmi.
</listitem>
</itemizedlist>
<para>Next examples show how to use <emphasis role="bold">web
services</emphasis> with FraSCAti:</para>
<itemizedlist>
<listitem>
helloworld-ws (client and server),
</listitem>
<listitem>
calculator (client and server),
</listitem>
<listitem>
weather,
</listitem>
<listitem>
verify-mail,
</listitem>
<listitem>
isbn-test,
</listitem>
<listitem>
dictionary.
</listitem>
</itemizedlist>
<para>Next examples show how to use the <emphasis
role="bold">REST</emphasis>ful binding with FraSCAti:</para>
<itemizedlist>
<listitem>
twitter-rest (client),
</listitem>
<listitem>
counter-rest (client and server).
</listitem>
</itemizedlist>
<para>The chat example shows how to expose an SCA service in a Java
<emphasis role="bold">RMI</emphasis> registry and how to consume it with SCA
clients: one basic command line client and one GUI client. The <emphasis
role="bold">GUI client</emphasis> shows how to load SCA composites from
standards Java objects.</para>
<para>All previous examples are using primitive components with a Java
implementation. Next example illustrates how to develop a primitive SCA
component with a <emphasis role="bold">script
implementation</emphasis>:</para>
<itemizedlist>
<listitem>
helloworld-script [Requires Java 1.6]
</listitem>
</itemizedlist>
<para>Finally, the following example shows how to <emphasis
role="bold">compose</emphasis> two examples of FraSCAti: the Twitter one and
the Weather one. This example retrieve the location of a given Twitter user
then use the weather service to get the current weather in the Twitter
user's city.</para>
<itemizedlist>
<listitem>
twitter-weather
</listitem>
</itemizedlist>
</chapter>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment