When we drive to
Disneyland, we stop at my parent's house in San Francisco to visit for a day or two. The distance from their house to DL is 414 miles.
I've taken Amtrak from SF. There's a ticket station near the Ferry Building in downtown. After checking in, you board an Amtrak bus to take you to the train station in Oakland. On the return trip, there are many announcements telling you to disembark at Oakland's Jack London Square station and catch the bus going to downtown SF.
I like taking the train, but it is NEVER on time. On the trips to Los Angeles, I usually end up waiting 1-3 hours for the train. Since it originates in Seattle, there are plenty of opportunities for a delay. I've only gone as far as LA, so I'm not 100% sure, but I think if you want to continue on to Anaheim, you need to transfer on to a different train in LA.