for it was a city built on trading rich produce of the javanese plains such as rice , spices and possibly tobacco , trading with chinese merchants , and after javas conquest , trade fostered by the dutch and europeans .