Coming Up for Air

As I've noted in a previous post , I recently moved my blog from Awestruct to JBake . This also allowed me to migrate the building and publishing of the blog contents to the toolchain that I know pretty well (Maven). What bothered me, though, was that my POM defined the project as ajar packaging type: the build produces no jar file and, in fact, doesn't process any Java at all. What I wanted, then, was to be able to define the lifecycle in such a way the the compile phase didn't try to compile anything, and the install phase didn't try to put anything in my local repo. Unfortunately, either I'm a bit dense, or the documentation wasn't very clear (it's likely a combination of both :). At any rate, I finally had a eureka moment late last night and figured it out. Here is a distillation of my findings.

For some time now, I have been using awestruct to power my blog, and, for the most part, I've been happy. However, I have found, especially on the Mac, the Ruby-based environment more difficult to setup than I would like. While I have solved this problem before, it presented itself once again when I was issued a Mac upon joining NetSuite. I can, of course, muddle through it, but I'm tired of fighting it, so I started looking around for an alternative and found JBake .

Multitenant PostgreSQL

Jason Lee 2015-02-18

As more and more of our applications move into "the cloud", multi-tenancy has become a pretty big thing these days. In a nutshell, "multi-tenancy" means handling multiple customers data using, say, a single server. This concept scales, of course, to clusters, etc., but the concept is the same: a bunch of people's data all mixed together in one big bucket. The problem, then, for the development team is isolating one customer's data from another's, disallowing, for example, the viewing or editing of another customer's information. There are a myriad of ways to accomplish this, but I'd like to discuss here a way to accomplish this using a single database.

Merry Christmas

To all of my readers, I wish you all a very Merry Christmas. My hope, as always, is that even in the busyness and the hustle of the Christmas season, you will find the peace and joy of God brought to us so many years ago in the birth of the Christ child.

Search

Quotes

Sample quote

Quote source

About

My name is Jason Lee. I am a software developer living in the middle of Oklahoma. I’ve been a professional developer since 1997, using a variety of languages, including Java, Javascript, PHP, Python, Delphi, and even a bit of C#. I currently work for Red Hat on the WildFly/EAP team, where, among other things, I maintain integrations for some MicroProfile specs, OpenTelemetry, Micrometer, Jakarta Faces, and Bean Validation. (Full resume here. LinkedIn profile)

I am the president of the Oklahoma City JUG, and an occasional speaker at the JUG and a variety of technical conferences.

On the personal side, I’m active in my church, and enjoy bass guitar, running, fishing, and a variety of martial arts. I’m also married to a beautiful woman, and have two boys, who, thankfully, look like their mother.

My Links

Publications