Crate training is something you really have to be consistent with. I do believe in crate training but it has to be done properly or it can actually be a cruel tool used on the dog.

Personally, I crate train my puppies at night when I'm sleeping as well as during the day when I am teaching housebreaking. However, the crate is beside my bed facing in a manner that the dog can see and hear me breathing. After I am very sure housebreaking is understood, then I let the dog stay in the bedroom with the door closed instead of in the crate. This is usually by 4 months of age. By having the dog in the room even though they are in the crate, helps give them a sense that they haven't been abandoned and builds on the bonding between the two of you.

I usually refer people to this link on crate training because it is very thorough and I agree with everything it says. It also addresses the whining issue. I believe you will find any questions you have on crate training answered here. Best wishes on a successful crate training program.