Using a Lifecycle Model for Developing and Executing Real-Time Online Applications on Clouds