Have clean glass jars ready. Sterilize the lids in boiling water for about 10 minutes. Leave them in the hot water.
Remove the rack or baking sheet from the oven. Preheat the oven to 350˚Fahrenheit.
With the pastry brush, grease the bottom and sides of the glass jars. NOTE: Do not grease the rim of the glass!
Fill the cake batter into the jars about ½ (no more than ⅔) full. Do not put the lids on.
Place the jars on the cold baking sheet or oven rack.
Bake the cakes for about 35 minutes or until a toothpick comes out clean.
Method 1: Remove the jars from the oven and carefully place the lids on right away.
Method 2: Let the cakes cool down in their jars. Put the lids on. Either process them in a hot water bath for 30 minutes or bake them in a 215˚ Fahrenheit oven for 30 minutes.
Notes
this method works best with pound cakes, sponge cakes, or cake mixes from the store
if you get a good seal, your cakes should last about 6 months, possibly longer
if you do not get a good seal, keep the cakes in the refrigerator with the lids on for about 4-6 weeks