For the cobs, you'll want to chop them up a bit first otherwise they'll take years to compost down but, the chopped husks are great for creating soil structure as the have a very high C:N ratio.
The husks have a very low C:N ratio and compost quite hot. Make sure that you have a lot of browns (usually in the form of leaves but, shredded newspaper works as well. Though leaves have a lower C:N ratio of about 300:1 whereas newspaper is about 2000:1 so, very slow to break down). Anyway be sure to turn the pile at least once a week but preferably once a day with the corn husks or your compost will go anaerobic on you.
They are great and make great soil and with turning, you will have soil in about a month.
It helps to run over them with the mower first but, they will compost just fine left whole.
An elderly country lady who was once one of my neighbors swore by burying a half dozen old corncobs under tomato planting holes, then covering them with manure and planting her tomatoes. She did it that way for 50 years.
I like to see corn cobs floating through the heap -- I think they help aerate when wet, or hold moisture when dry. In summer, when I'm putting them in there, I try to break them in half first.
I threw in a lot of corn cobs from the ditch near the farmers field last year after he harvested. They were whole but I did try to break them in half. This year as I'm mixing the pile I've still seen them but when I pick them up they break into a million little pieces. So I would consider them as anything else in nature and just throw them in. But just like anything else the more you break it down the less work the compost has to do.
Brown. It's after the farmer combines it in the fall. I on occation will grab some of the stalk but the it helps when the kids like to play with the cobs then I get them when they are done.
EDIT: I can't forget that in the summer we do throw in the cobs from when we eat sweet corn.
I've tried this, works well. To test, I turned the dirt out of a 20ft row for tomatoes, about 10inches deep and placed a single layer of corn cobs in 1/2 of the row. When the plain 1/2 was about 3ft high with blossoms, the cob 1/2 was just over 4ft with many tomatoes about marble size. The cobs act like a sponge holding water and all worms love them. Corn meal (easier than cobs) in the compost pile also draws red worms.
Have put corn cobs and/or meal on the ground near my garden, covered with cardboard or piece of old carpet (keep moist). Lift and pick worms off the ground for fishing bait.
Yeah, the worms do love them. I put whole corn cobs in my compost pile. The next time I turn the pile over, usually about 3 months later, the cobs will be hollowed out, with a bunch of earthworms in the center. At that point I break the (now softened) cobs up into pieces and put them back in the pile. The next time I turn it, in another 3 months, all the pieces are gone.
@carolohay: Thanks for posting the results of your experiment. It really did work!
We break up cobs from summer sweet corn eating into 2-3 pieces and throw them in the kitchen compost bucket. I never have enough to do the tomato thing, sad to say. My tomatoes could use some help.
I compost both of them. I don't break down the cobs just toss them in whole. They do take awhile to break down though. But after some time when I am moving the pile around I see cobs still but they fall apart when you touch them.