Studies suggest that eating beans and whole grains lowers glucose levels both immediately and at subsequent meals.
Don't boil beans for more than a few minutes. Simmer them instead. Boiling beans for too long will make them too mushy.