Setup: Start ssh deamon. Show PTF for 5733OPS Mount local: dksrv206 dksrv133 microservice example - The most expensive calculator ==================================================== ssh dksrv133 rm -rf /seneca mkdir /seneca cd /seneca git -c http.sslVerify=false clone https://github.com/senecajs-attic/getting-started.git cd getting-started npm install echo "require('seneca')().use('math').listen()" > msTest.js node msTest.js What have we?: open ~/Desktop/dksrv133/seneca Now try this in your browser: http://dksrv133:10101/act?role=math&cmd=sum&left=1&right=2 http://dksrv133:10101/act?role=math&cmd=product&left=1&right=2 A better example: Product list with seneca.js --------------------------- open ~/Desktop/dksrv206/seneca/microservices Start it up: ssh dksrv206 bash First start the microservice layer: ----------------------------------- cd /seneca/microservices node msExtjs.js Direct access to the microservice: http://dksrv206:10101/act?role=products&cmd=list&limit=100 On another terminal, start the tiny webserver, that serves the ExtJs application and forwards service request to the microservice layer: -------------------------- ssh dksrv206 bash cd /seneca/webserver node webserver.js The ExtJs application: http://dksrv206:10100/index.html RPG anyone ?? =============================================================== Finder: open ~/Desktop/dksrv206/www/microservices http://dksrv206:60060/ msProduct.rpgle ~/Desktop/dksrv206/www/microservices msXlate.rpgle Here is a real world example - Used in sitemule admin: http://basext.admin.workmule.dk/