That tasty cup of java from your favorite gourmet coffee shop began life on a farm thousands of miles away. Farmers who cater to the specialty coffee market compete on quality. And some use the higher prices their beans fetch to reinvest in their businesses and improve conditions for workers.