A comprehensive design model for integrating business processes in web applications