You fight things. There is no clever shortcut in Kingdom Hearts II, experience comes from defeating Heartless and Nobodies, so the fastest route is to find a spot with a steady supply of high-yield enemies and grind there.
Multi-target abilities help enormously, and so does picking areas where enemies respawn quickly rather than ones with a handful of tough opponents.