What is the best way to train for a triathlon?

Elegy 2 asked: Personally, I know the swimming part will be my biggest weakness (like most people I know). What are some training routines you know of that work?