in my spring mvc project the way i am currently initializing my database is to define beans in xmls and autowire my dao
so when the server starts up my dao class is ready to perform data operations.
but i want to do it another way. let the server start and then i initialize my database and dao and use them as before i was using when doing autowiring.
how to implement this ?