Minecraft wiki entry for Defense, associated text: TNT cannons are one of the best weapons to use. These should be put outside your perimeter. Go to Tutorials/TNT Cannons to find steps to build these.