Palestine: Getting Return Right

How can the desire of Palestinians to return to homes they fled from in 1948 be reconciled with Israel's desire to remain a Jewish and democratic state?