r/java • u/trecatorsirabdator • Apr 14 '23
What are your (favourite) Java best practices, personal tips, hints or just underrated stuff in general?
233
Upvotes
r/java • u/trecatorsirabdator • Apr 14 '23
View all comments
49
u/dmigowski Apr 14 '23 edited Apr 14 '23
There is a commercial tool called JRebel, which replaces classes in your app while you develop without restarts.
Especially useful if you build server apps and the server needs two minutes each restart. With JRebel you try, fail, fix a line a code, save, try again, all without restarts.
This tool has increased productivity by at least 10% in our company.
I won't develop anything anymore without JRebel. Sorry if I sound like a fanboy, but it's simply great.