In my opinion, Star Wars: Empire at War is the better of the two, though that's ultimately a matter of personal taste.
Empire at War blends real-time strategy with a larger-scale galactic conquest layer, which many players find more dynamic. That said, if you prefer a more traditional Age of Empires-style base-building experience, Galactic Battlegrounds still has its charm.