Protection for pilots who could be the brunt of piracy should be a part of the pilot's training. Because of the terroists that have been an affront to the safety of Americans, it is imperative that the pilots be prepared to help themselves in regards to guarding against air piracy.
No, the training of pilots to be armed in planes would not be straight-forward and easy, because it would be like training them to be any other type of law-enforcement officer. In effect, that would be expecting the pilots to do two job. They would have to fly the plane and keep the peace. It would take quite a bit of training in order to equip them to do this safely.