Toss beans and chopped shallots with oil and salt on a baking sheet.   Roast, stirring twice during roasting time until shallots have caramelized and beans are beginning to brown.  Sprinkle with pepper and serve hot.