How can the United States and China best cooperate in world affairs?

During his current visit to Asia, President Obama has said that the United States does not fear a rising China and seeks stronger ties with the developing superpower. How can the United States and China best cooperate in world affairs?