setting up bean configuration -Prabin