I'm willing to believe that mobile dev is treated as a commodity market, but the other areas mentioned are essentially "desktop apps" and "web apps." I don't think you can paint with so broad a brush that essentially all front-end and back-end Java work is commodity.
Surely there are markets and companies where companies hire Java programmers as replaceable cogs, and you shouldn't aim to work there. But there are many many enterprises where quality Java engineers are hired, appreciated, and well-compensated.
Surely there are markets and companies where companies hire Java programmers as replaceable cogs, and you shouldn't aim to work there. But there are many many enterprises where quality Java engineers are hired, appreciated, and well-compensated.