Java-Based UI Frameworks

Rik Scarborough Java, Programming 1 Comment

In today’s development environment, there is an abundance of frameworks that we can choose from for front-end or user interface (UI) work.

I was recently talking with a friend about UI development. He has also been a programmer since programming was considered an arcane art (when those of us that did it were considered like Gandalf the Grey facing the Balrog). Or maybe we just saw ourselves that way. Regardless, both of us have been Java programmers for a great deal of that time.

We both lamented the fact that it was a context switch to go from coding most of our projects in Java, then needing to switch to JavaScript for the front end.

Based on conversations I’ve seen online, several readers are warming up their keyboards to chide me for complaining about having to code in JavaScript. Keep your keys cool, both of us and our co-workers are experienced in, and happy to write in, JavaScript and any of its frameworks for our clients. But using JavaScript isn’t always the best approach.

 In this post, we introduce two frameworks that allow you to code your user interface in Java: GWT & Vaadin…

An argument against defaulting to auto-increment primary keys

Shannon Griswold Databases, Java 11 Comments

The de-facto “easy” primary key for ages has been the auto-incrementing integer. Upon insertion of a new record, the database simply increments a counter for the table and uses the new value for the primary key of the inserted row. It’s simple to setup, requires no maintenance, and guarantees a predictable key. For my own purposes, I was under the …