Database

No image

Using Android AsyncTask to initialize a database

When it comes to keeping user interfaces “lively,” threads are our friends. But Threads are a real pain in the neck. Such is the life of a programmer. It’s important that we design applications so that the user interface stays alive. Not only does this improve our user’s experience with our apps, but it keeps […]

Read More
No image

A Retry Framework for JPA

Databases are sometimes the bane of developer’s lives. Aside from all the fun of managing objects, queries, etc., databases are notorious for occasionally (and non-repeatably) hitting your application with an exception. All sorts of things can cause this: Your connection to the database may be momentarily interrupted. Even “high availability” approaches aren’t proof against this […]

Read More