There is no train out of Juneau. Juneau is surrounded by water and glaciers. There are only two ways in or out of Juneu, plane or boat.
If you mean the White Pass Railway in Skagway. The views are quite spectacular but I have heard people say it was to long for them. I love trains and loved the view so it wasn't long enough for me.