Comparison of flow-based programming and service-oriented architecture for building data-driven applications