Hi all, I have a java application which uses an Oracle database (mainly for reports, some settings etc...) but this application can run in bare minimum mode even when database is not available. Now i have to develop this application in such a way that when database is available then the application should use it. But for some reasons if it becomes unavailable then the application should intelligently detect it and change its mode of operation to the bare minimum mode and then when the database is eventually avaliable...it will switch back automatically to the normal running mode. I am thinking of developing a generic framework for this kind of behaviour. I am doing some brainstorming myself and also looking for some ideas for the same...