Vita Rara: A Life Uncommon


Separating SQL and Java Code

Categories: | |

I have been programming in Java for about eight years now. One of the persistent issues I have had is writing programs that will work with more than one database. In general I use EJB to handle persistence in my business layer. The issue that has remained is keeping SQL out of the code for simple things like screen displays and report generation, either to the screen or to PDF files for printing.

I've done some looking around and have not found a solution yet. I might be missing it, and if you know of one please let me know. In the mean time myself and my fellow programmer John came up with the following. It is by no means complete. This is an idea at this point, but one I think has merit.

The Verdict Is In: Speed Doesn't Kill


A great piece appeared on The Wall Street Journal's Opinion Journal website today dealing with speed limits. Go read it.

I find myself heartily agreeing with their sentiments and conclusions. I think the 55 mph speed limits imposed on the states by the federal government in the 70's were both a failure and badly mistaken.

Compliance with the 55 mph speed limit had fallen so low that it made a law breaker out of 95% of the American population if the numbers are to be believed. I believe that this led to contempt in general for stupid laws, and contempt for law enforcement in general. Make people obey rules that they know are stupid and they will resent you for it.

I've Finally Arrived

Categories: |

Since the advent of blogging it has passed me by. Well, that time is over. After just finishing a site in Drupal for a client, and being dully impressed with it, I decided it was time to set it up for myself.

The feature set of Drupal is fantastic, it includes blogs, menuing, navigation aids, content management, and a whole lot more. Check it out for yourself.

So, now I have a blog. Keep an eye here to see what I'm up to. Photography will be a frequent subject, as well as highlighting new galleries.

Take care,


Syndicate content