Convert many examples to java backend

**please review**
I mean, I can put it in every lesson if you want me to, it's just that they're all essentially the same change. It's just to a bunch of different lessons.