Fry bacon (or ham) until it is beginning to cook. Add onion and continue cooking until onion is translucent. Don't let bacon get too crisp. It will continue to cook with the beans and flavor them. Drain grease. Crumble or cut bacon or ham. Set aside and prepare beans.
If using fresh greens, clean them and cut in bite sized pieces. Cook in boiling water until tender.
Add all other ingredients to green beans you just cooked (or to the unheated canned green beans if using those) and cook for approximately 10 minutes to heat thoroughly and blend flavors.