There is no real difference between roasting in a pan or on a rack. The only difference is that in a pan, the heat from the oven will cook the food more evenly, so it's better to use one if you want evenly cooked food.