Preheat the oven to 350 degrees. Generously grease a baking dish with oil.
Soak the beans or peas in enough cold water to cover in a large bowl 2-8 hours. Drain; rinse well under cold water. Place in a Dutch oven; add water just to cover. Heat to a boil; reduce heat to low.