Strategies Underlying Bacterial Survival On Surfaces