Infosys interview question

Singleton pattern Jquery Ajax Spring bean lifecycle