Re: Green Beans
Roasting coffee is a very delicate expert process.
Buying roasted beans in bulk direct from a roaster, the day it's roasted and sealed up, and storing in a freezer also works. Under these conditions coffee can easily last a year in perfect condition.
The beans you get at the "supermarket" are ancient by the time they're sold and badly stored, so don't bother with them.