GreenScreenCraft

“Legacy” UI green screens.  They are smokin’ fast. I do a lot of things from the command line.  It’s just faster.  Some things, like a GUI view of a Git checkin help quite a bit.  But as a Java developer living in a server and configuration world there is nothing better than a good text […]

Case Sensitivity, Windows, Linux and Git

This is a strange one . . . Most of our development for a services project is done on Windows. Java, Spring, Hibernate, Drools, JAX-WS. I was integrating some more service calls and refactored the names of a few classes from (something like): CALLService.java CALLServiceImpl.java to CallService.java CallServiceImpl.java Sounds pretty simple, right? Checked it into […]

What is String * Integer in SQL?

I saw a weird usage of SQL in a Java application.  Apparently whomever had written the code did not understand how to generate a new Entity with Hibernate and retrieve it’s primary key, and created a pkey field on a table that was, sometimes, string + integer. And sometimes just integer. In the test code […]

Final Variables in Groovy Curiosity

(On my local I’m running Groovy 2.1.9 on Java/JDK 6). Was having a Discussion of final and static, and decided to try something in groovyConsole.  In the Java world, a final variable cannot be reassigned a value once initialized. Groovy Code: final String i = “test” println i i = “red”println i Output: groovy> final […]