Event Handling in spring