One cable from the receiver's subwoofer pre-out to the line level input of the sub (may be labelled LFE or Line-In) is the preferred method. With that method you will use the receiver's bass managment capabilities and allow the receiver to set the xover and level.
If you use the speaker level connection and the receiver has bass managment, then you would have to set the front speakers to Large and connect them to the subwoofer. With that connection, the sub gets the full range signal and you use its xover. One major negative is the fact that the best location for the sub may not be right next to the receiver and you will end up with long runs of speaker wire from the receiver to the sub and then another long run of speaker wire from the sub to the mains.
If by the AB method you mean connect the mains to the A terminals and the sub to the B terminals, definitely DO NOT do that - the impedance of a subwoofer is very low and the AB terminals of a receiver are usually wired in parallel. The receiver will have a very hard time driving that setup.