I've had rice beans and other grains stored in canning jars for 3 years now and no signs of deterioration. the glass jars let you inspect your products without opening the jar. I also have oat meal, macoronie, cream of wheat atored in that fashion. I place the beans and other in a jar, turn the oven on to about 135 deg place the jar with a loose canning lid in place and let the pints stay till heated thru, about 20 min. You could use quart, of 2 quart jars whatever you like, just leave them in the oven longer. I like pint jars because a pint is just about a pound. You can store anything that you like for a long term using this method.
BDE