Your words "he does not get ignored and I give up all my time so he has stuff to do" may be part of your problem. Not only does he realize that he's the center of your world and has lost all respect for you or others, but he's missed out on learning the creativity that comes with entertaining himself. Mommy and Daddy are always there to think of things for him to do instead of him thinking of things for himself. Creativity is vital in critical thinking skills and he'll suffer for it in school if you don't "ignore" him a little more often.
It's important to remember that you're his parents, not his friends. That was one of my exes problems with our 2 1/2 year old. Things improved dramatically when he moved out. The biggest thing my son had to learn was that when I made a threat, I meant business because I consistently followed through, unlike my ex.
I'm not one to be adverse to "smacking the tush" from time to time, and time-out can also help if it's used consistently. Try putting him in time-out in his room with just a few toys. That may be the start of him learning to entertain himself.
Have you tried counting to 5? That has been the single greatest disciplinary tool I've used. I count "1, 2...if I get to 5 you'll get time-out (or spanking or whatever)...3, 4, 5." The first few times he'll test you, so you'll have to follow through. But after that, he'll always respond (yeah, he'll still whine as he's doing it). You'll rarely get past 3.
Hope this helps.