Application Modeling and Concurrency Control in Active DBMS: A Survey