Yeah the roman empire used regular spears too with a certain technique, just a quick example:
http://poliremi.altervista.org/immagini/greci/Falanx.JPG
They were used especially in battles where the enemy were charging them, most of the enemies would get impaled from the first row, and if someone in the first row died or was unable to fight, the one behind him would get in the first row. Is called Falanx or Falange.
The fellows in that picture look to be Macedonian, based on their helmets and the Sarisa spears they're using.
Roman legions were developed with defeating the phalanx formation in mind, since it was used by most of their enemies. Roman formations were much more maneuverable compared to the phalanx, and had a better ability to concentrate their strength in a single spot to break the enemy's shield wall. The Romans would use a checkerboard formation, which would make the phalanx likely to break ranks, exposing the individual soldiers.
The phalanx's greatest weakness was it's lack of maneuverability, and once it was commited to battle, it just had to push forward. This was pretty visible at the battle of Leuctra in 371BCE, where the Thebans completely crushed Spartan hoplites, and by extension the Spartan state, using cavalry and light shock troops.