Ciao! I’m Jason.

I'm a Cloud Solution Architect, Speaker, Teacher, Learner, Engineer, Craftsman, Whovian with his head in the Cloud.

's Picture
Automatically Close Braces in Visual Studio

Automatically Close Braces in Visual Studio

If you're an Eclipse or Netbeans user, you'll be very familiar with this topic. These IDEs automatically close braces, parenthesis, quotes, and brackets -- ( {},[],(),"",'' ) -- for you as you type in the code editors. It may sound like laziness, but it can actually save you debug/troubleshooting time as it ensures (well, helps to ensure) that for every open you have a corresponding close.

Setting Up a Reporting Database

Setting Up a Reporting Database

Using a live OLTP database for complex reporting has a significant performance impact on the OLTP application. A common architectural design is to have a separate reporting database from your application's OLTP database...

Singleton vs. Static Class

Singleton vs. Static Class

I'm often asked “Why create a Singleton when a Static Class does the same thing?”. Well, while using a Singleton vs a Static Class may seem to be the “same thing”, they are quite different. There are pros and cons to both, and each has it's place in an application. To understand the difference, let's first take a look at memory allocation. Then we'll look at memory implications, state and synchronization, and some caveats as to the use and behavior of the two.

Breaking the Row Size Limit in SQL Server

Breaking the Row Size Limit in SQL Server

Microsoft SQL Server, as of version 9.0 (2005), allows you to cheat the max row size limit of 8K. If we have a row of variable length data types (ie. varchar), the total byte count can be more than 8K. SQL Server will magically spill the data over to the next page. Cool right? Well...

Reflecting on Reflection

Reflecting on Reflection

I was approached by a developer suggesting a reflection routine for taking values from a data transfer object and populating a business entity and vice versa. He argued that writing a TransferObjectAssembler for each DTO was too time consuming, and would be better suited with a reflection routine. My response...

JBoss SOAP error with Java 6

JBoss SOAP error with Java 6

Error message "setProperty must be overridden by all subclasses of SOAPMessage". After reading this Jira issue...

Installing Any Executable as a Windows Service

Installing Any Executable as a Windows Service

I'll clean this up later, but in short...

Disaster Recovery

Disaster Recovery

During a severe thunderstorm one night, your building loses power. The once thought to be defunct generator mounted to the roof just above your data center detects the outage and make its attempt to start up...

Java Dates:  java.util.Date, java.sql.Date, java.util.Calendar

Java Dates: java.util.Date, java.sql.Date, java.util.Calendar

Working with dates in Java (though not limited to Java) has always been a nightmare. There are lots of good articles out there in Google Land on the topic, but after some very good questions from my class, I thought I'd add my two-cents and code samples to the mix...