If we are using a resource in servlet init method and during initialization it failed to reach that resource but we know that after sometime resource will be available. What shall we do in this case?
- throw unavailable exception
- don't do anything once a request comes for this servlet it might start working
- do necessary stuff like try/catch and provide fallback logic
Any other suggestion?