The Campania Express is a newish train line that mirrors the Circumvesuviana.  Both train lines connect Naples with Pompeii, Herculaneum, and Sorrento.  The Campania Express has reserved seats and air-conditioning, which is nice if you’re traveling during the summer or with children.