replaced bean with servlet context listener class