Getting paid more than other folks mostly means you are better at interviewing and negotiations. (Or, if you are a lifer, that you are good at your company's promotion process. If your company is sane, that might even imply something about how well you work.)
I don't think shaming or not makes a difference. It's just irrelevant. (Or are people really going to ask for less in their next negotiations because someone on the Internet 'shamed' them? Really?)
The answer is to call their bluff and tell them that yes, you do feel like you deserve more. You may or may not add that you feel like your coworkers also deserve more. You can't negotiate your coworkers' salary for them. You're only in a position to negotiate your own.
It works because even though he's not asking for more money I can tell them what the cost of replacing us is, and I can tell them if one of us leaves the other is more than likely to follow.
ShinyNewTech bites people when they aren't intentional about introducing it and haven't done an accurate cost/benefit analysis. If you've done that analysis, and it really is a big difference in cost to market & cost of operation, then you're leaving money on the table by not taking that route. This happens all the time.
The cost of rejecting new stuff because the status quo seems to be working well enough is massive, especially because the status quo at most software shops is room-on-fire-this-is-fine.jpg
JavaEE programmers might be a legitimate concern though ;-)
Also bearing in mind where you stand on the skills ladder as part of that factoring.
(1) Stop shaming each other for being "greedy" when they actually ask for what they merit. I can't tell you how many times on HN and elsewhere I've run into extremely defeatist attitude about this implying that we should be happy just to have jobs in the field. As long as these folks are around shaming fellow engineers for asking for more money they will drag everyone else down and other folks will laugh their way to the bank at engineers' expense. It needs to end.
Edit: See other replies to this post for great examples of this. Just because you get paid more than a lot of other folks, does that mean you're getting paid commensurate to the value you actually create?
(2) To justify these asks programmers must shift from doing things like chasing the latest JavaScript trend to focusing on delivering business value first and foremost. Every programmer hire is a gamble that might pay off big time or might end your business with crushing technical debt and poor decisions. Until programmers as a whole demand that each other focus on delivering business value first and foremost the shiny new tech chasers will, just like the shamers above, drag the salaries available for everyone down due to their own poor decision making.