The normal bead shotgun sight is screwed in. The hole goes right through the barrel, as there is no significant pressure that far out. Any excess that sticks into the barrel is just filed off using a piece of masking tape to protect the barrel. The center bead on a rib is usually just a press fit, though they too can be of the screw in type if wanted.
Jim