Bring 3 quarts of salted water to a boil. Add green beans to the boiling water. Cook for four minutes. Strain away the excess water. Finish cooking the beans by adding them to the cooked bacon and onions.