5 Ways to Handle HTTP Server 500 Errors

5 Ways to Handle HTTP Server 500 Errors

How are you handling exceptions in your web applications?  Does your team have a strategy or do you just deal with failures as they come up?  If you’re like most development teams, you just deal.  Whenever something breaks, it’s an emergency.  Customer runs into a problem, you get called in.  You dig through the logs […]

Read more
How To Build Template Driven Java Websites with FreeMarker and RESTEasy

How To Build Template Driven Java Websites with FreeMarker and RESTEasy

Last week I wrote about why you should switch to a templating engine from Java Server Pages. This week I’ll take it a step further and show you how to use FreeMarker, along with Bootstrap and RESTEasy, to create truly template driven websites. By adding a thin layer on top of FreeMarker, you’ll be able […]

Read more
10 Reasons to Replace Your JSPs With FreeMarker Templates

10 Reasons to Replace Your JSPs With FreeMarker Templates

Still using Java Server Pages?  I was too, but a few years ago I ditched them and haven’t looked back since.  JSPs are a fine concept, but they take the joy out of web development.  For me, it was the little things, like having to breakup my page templates into separate files: header.jsp and footer.jsp, […]

Read more
How to Load Config Files with the Strategy Pattern

How to Load Config Files with the Strategy Pattern

Some developers have a bad habit of deploying their configuration files in the same package as their code.  Not the Spring Framework type of config that’s really code in disguise, but the server specific kind.  The kind that’s different for each environment.  These teams create separate builds for each environment, they rebuild packages for every […]

Read more