51 lines
1.7 KiB
Plaintext
51 lines
1.7 KiB
Plaintext
|
|
FOURJS_START_COPYRIGHT(U,2011)
|
|
Property of Four Js*
|
|
(c) Copyright Four Js 2011, 2019. All Rights Reserved.
|
|
* Trademark of Four Js Development Tools Europe Ltd
|
|
in the United States and elsewhere
|
|
|
|
Four Js and its suppliers do not warrant or guarantee that these samples
|
|
are accurate and suitable for your purposes. Their inclusion is purely for
|
|
information purposes only.
|
|
FOURJS_END_COPYRIGHT
|
|
|
|
ShoppingCart Stateful Web service demonstration
|
|
|
|
|
|
For this ShoppingCart Web service demonstration, the client performs
|
|
some order on the stateful Web service server. The server keeps all
|
|
session in memory to return the client state at client reconnection.
|
|
|
|
==============
|
|
Prerequisites:
|
|
==============
|
|
|
|
Before starting, make sure that the environment variables
|
|
PATH, FGLDIR, and FGLSERVER are properly set. See the
|
|
Genero Business Development Language documentation for more
|
|
information on setting environment variables.
|
|
|
|
By default, these examples use the TCP port number 8090.
|
|
If the port number 8090 is used by another application on
|
|
your machine, choose another port number.
|
|
|
|
===============
|
|
How to execute:
|
|
===============
|
|
|
|
On Windows:
|
|
- Modify the server and client build.bat files to change the port
|
|
number (if required)
|
|
- Run first 'build.bat' and then 'run.bat' in the server directory
|
|
- In a second DOS session, run 'build.bat' and then 'run.bat' in
|
|
the client directory
|
|
|
|
On Unix:
|
|
- Modify the server and client makefile to change the port
|
|
number (if required)
|
|
- Execute 'make' and then 'make run' in the server directory
|
|
- In a new shell session, execute 'make' and then
|
|
'make run' in the client directory
|
|
|