Businesses, residents learn to prepare for the worst in active-shooter training