Imperialism sparked various rebellions in China, India and Japan. How was the Meiji restoration different from the Boxer rebellion of China and the Revolt of 1857 in India?

Question: Imperialism sparked various rebellions in China, India and Japan. How was the Meiji restoration different from the Boxer rebellion of China and the Revolt of 1857 in India?