Commit e454737b authored by Nicolas Dolet's avatar Nicolas Dolet
Browse files

Add READMEs

parent 27c57412
============================================================================
OW2 FraSCAti Examples: Counter
Copyright (C) 2009 INRIA, USTL
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Contact: frascati@ow2.org
Author: Nicolas Dolet
============================================================================
FraSCAti RESTfull Counter example:
----------------------------------
This example shows how to expose and how to consume a RESTfull service with
FraSCAti.
This module gathers the server and the client.
To run the example, open two terminals (for the server and for the client).
Compilation with Maven:
-----------------------
mvn install
Execution with Maven:
---------------------
1) Open a console for the server
cd server
mvn -Prun
2) Open another console for the client
cd client
mvn -Prun
Compilation and execution with the FraSCAti scripts:
----------------------------------------------------
1) Open a console and follow instructions in the 'server' directory
2) Open another console and follow instructions in the 'client' directory
============================================================================
OW2 FraSCAti Examples: Counter
Copyright (C) 2009 INRIA, USTL
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Contact: frascati@ow2.org
Author: Nicolas Dolet
============================================================================
FraSCAti RESTfull Counter example:
----------------------------------
This example shows how to consume the RESTfull "CounterService" service exposed
by the Counter Server example from FraSCAti.
Compilation and execution with the FraSCAti scripts:
----------------------------------------------------
frascati compile src counter-client
frascati run counter-client -libpath counter-client.jar -s r -m run
============================================================================
OW2 FraSCAti Examples: Counter
Copyright (C) 2009 INRIA, USTL
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Contact: frascati@ow2.org
Author: Nicolas Dolet
============================================================================
FraSCAti RESTfull Counter example:
----------------------------------
This example shows how to expose a RESTfull service (CounterService) with
FraSCAti.
Compilation and execution with the FraSCAti scripts:
----------------------------------------------------
frascati compile src counter-server
frascati run counter-server -libpath counter-server.jar
============================================================================
OW2 FraSCAti Examples: Twitter
Copyright (C) 2009 INRIA, USTL
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Contact: frascati@ow2.org
Author: Nicolas Dolet
============================================================================
Twitter Client:
---------------
This example shows how to build an SCA client using a rest binding in order to
consume a RESTfull service exposed on the Twitter server (http://twitter.com).
Compilation with Maven:
-----------------------
mvn install
Execution with Maven:
---------------------
mvn -Prun
Compilation and execution with the FraSCAti scripts:
----------------------------------------------------
frascati compile src twitter
frascati run twitter-client -libpath twitter.jar -s r -m run
Supports Markdown
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