Archive | Back-end RSS feed for this section
Ditch Container-Managed Security To Create Portable Web Apps

Ditch Container-Managed Security To Create Portable Web Apps

Do your web apps need to run in the servlet containers from different vendors?  How do you manage their vendor specific security settings?  I recently ran into this exact problem while developing StackHunter.  Like me, you probably started with container-managed security as you have many times before. The pain probably started after you tried deploying […]

Read more
Stack Hunter Screenshots

Stack Hunter Screenshots

Here are a few screenshots of the Java exception tracker I’m building.  Please let me know what you think (good, bad, or otherwise).

Read more
Optimizing MySQL Queries with Spring's JdbcTemplate

Optimizing MySQL Queries with Spring’s JdbcTemplate

Last week I migrated Stack Hunter’s back-end from MongoDB to MySQL.  (There was no problem MongoDB, it’s just easier for most users to connect to their existing MySQL database than install something new.)  In the process I spent some time optimizing the new database queries and indexes to make things snappy.  I started by loading […]

Read more
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 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