1. A computer-implemented method comprising: providing a network model of network embedded devices; creating a process model including an artifact restricted by a functionality indicated by the network model, wherein the functionality comprises run-time functionality; providing the run-time functionality to the process model in the form of: raw results obtained from at least one of the network embedded devices and node level monitoring information, application results and profiling information; providing the process model as an input to a compiler to produce: a plurality of abstractions of a high level device programming language, the plurality of abstractions provided to a second complier referencing the network model to produce a first executable code including a communication primitive, the first executable code recognized by an operating system of the network embedded device, and a second executable code including the communication primitive, the second executable code recognized by a business software application; controlling operation of the network embedded devices based upon the first executable code; causing a run-time support to collect statistics of a changed network environment; causing the run-time support to self-optimize using the statistics and an optimization hint produced be the compiler, and monitoring the operation of the network embedded devices by a construct specified in the process model and complied by the compiler to produce an application-level result.