Tag: Java
-
SpringBoot DevTools Auto Restart and Live Reload
When you are developing a web application minimizing the time it takes changes you make to show up is a key factor in your productivity. The quicker you can see the results of your change, the quicker you know if you have fixed things, or made things worse:). If you are using SpringBoot you may […]
-
3 Reasons I’m Switching from Eclipse to VSCode as a Java Developer
I have been writing Java code for 22 years, mostly server-side web applications. I started using Eclipse as my primary IDE in 2003, 18 years ago. Since then I’ve used Eclipse, or MyEclipse, if not daily then at least several times a week. And I like it as an IDE. I’ve evangelized it to others, […]
-
New 10MinuteMail Beta!
10MinuteMail is over 14 years old! When I created 10MinuteMail back in 2006, it was for two reasons: first to help me deal with all the spam email I was getting and second so I could teach myself the JBoss Seam framework. I had no idea at the time that so many other people wanted […]
-
Session and Memory Leak on Wildfly 10
I recently re-wrote 10MinuteMail, my secure temporary email service, updating it from Seam 2 and JBoss 4.2 to Deltaspike and Wildfly 10. Unfortunately I noticed a memory leak in the JVM. During beta testing, the JVM heap usage would slowly grow, over 1-2 weeks until it reached an OOM (out of memory condition). I performed […]
-
Terrible Code
request.setParameter("qualifySkus", getSkusRepository(d, cItem)); “qualifySkus” is confusing. Is it an array/list/collection of “qualifiedSKUs” or a flag that’s a result of “qualifyingSkus” or…. “qualifySKus” should be a constant with a nice comment, not an in-line String. The method getSkusRespository seems like it would return a catalog repository, doesn’t it? Instead it takes in a List of String […]
-
Eclipse Auto Complete Templates for ATG
Eclipse has an often under-utilized feature called Templates. You’ve probably used the built in templates when Eclipse auto-completes for loops or try-catch blocks, etc… However, you can create your own templates for commonly used chunks of code. This can save you a lot of time, and more importantly can facilitate you writing better quality code. […]