The failed invasions of Japan and Java taught the Mongols much about shipbuilding, and when their military efforts failed, they turned that knowledge to peaceful pursuits of commerce. Khubilai Khan made the strategic decision to transport food within his empire primarily by ship because he realized how much cheaper and more efficient water transportation,