Compared to it's other independent east Asian neighbors at the time, China and Siam/Thailand, Japan was resource poor and had little to no links or trading relationships with outside powers. How then was such a small mostly agrarian nation able to become a dominant industrial power and eventually dominate their much larger, more resource rich neighbors who already had long histories of trade so quickly?
While new answers are always welcome, here are some previous answers you might be interested in: