A computer program product embodied on a computer accessible nontransitory storage medium, including at least one instruction, which when executed on at least one electronic computer processor performs a method of electronically codifying data or a program using a rule-based and state-based application program or software component for automatic deployment in a distributed computing environment, comprising at least one electronic computer processor coupled to at least one electronic memory storage device and coupled via at least one communications network interface to at least one data communications network, the method comprising:
- electronically programming and assigning of production rules as code used for processing data and events for shipment of various cargo at a port through customs processing and finance processing referred to as supply chain financing in the distributed computing environment;
- electronically programming a finite state machine (FSM) to implement the state-based application program or software component;
- electronically deploying the FSM comprising:
- collecting of at least one distributed software app node service;
- wherein each of said at least one distributed software app node services comprises:
- at least a single state of the FSM;
- and
- at least one dynamically loadable programmable rule;
- and
- electronically receiving at least one shipment data, wherein said at least one shipment data comprises data electronically collected from at least one data source.