Applications of Active Databases