The example I posted is a simple one, any other rigs, like the one mentioned by sbtamu will work.
You only need to be careful where you align those bones, if not in the center of rotation, they will give you unpredictable results, like a limb jumping off of its placement.
Joining limbs (solved)
Moderators: Víctor Paredes, Belgarath, slowtiger