Bearing retaining compounds made by companies such as Loctite® or Permatex® are wonderful products. Although their use is not always necessary, here is where I might use bearing retaining compounds:
Green (bearing retaining)
Carrier bearing to swing arm [AS NEEEDED]
U-joint to carrier bearing [AS NEEEDED]
Each bearing race within the transmission [AS NEEEDED]