Assuming your bear defense will be only black bears, I would use full metal jackets in the hottest load available. I would prefer a 357mag or a 10mm, but with proper placement the 40 may suffice. Seward AK police dept several years ago had a black bear attacking horse, shot multiple times, one of the officers involved was not impressed with the 40's performance, used hollow points.