In a large serving bowl, combine the shallot, anchovies, vinegar, salt and pepper. Whisk in the olive oil until well combined. Add the drained white beans and tomatoes, toss to coat. This can be done well in advance.
1 large shallot, 4 anchovies, 1 19 oz white beans, 3 tbsp red wine vinegar, ½ tsp salt, 1/8 tsp pepper, 6 tbsp olive oil, 1 lb cherry tomato