HCLTech interview question

Bean factory vs application contex