Personally I prefer 9mm over .40. In my opinion if you want more than a 9mm just go with a .45.

I prefer .45 over both, but wouldn't feel like I don't have enough "stopping power" (really not the right term when it comes to pistol rounds) with proper, high quality self defense ammunition. I see no need for .40