Recently, my friend and colleague asked some questions about package naming conventions in Grails. I think they were excellent questions, and I wouldn’t be surprised if others were wondering about the same things. You could get into arguments with some guys over stuff like this, but here is my opinion…
com.businessname.appname
Is there an inherent [...]
Posted in Uncategorized | Also tagged flame-bait, grails, opinion, tips |
For Round #2 of our code challenge, Dan has responded to my initial provocation in spades with a efficient example of Google Collections‘ MultiMap utilities. His model involves car makes and models, their associations, and the easiest way to travel between them. At the core of the problem is the fact that a [...]
Posted in uncategorized | Also tagged groovy |
In my last post, Dan Lewis (my friend and former coworker) responded with some counter-code from Google’s collections package. Instead of attempting to snap back with some witty technical retort, I challenged Dan to a code-off. Groovy collections vs. Google collections (in Java). Here is round one, and I’m going first with [...]
Posted in uncategorized | Also tagged groovy |
Back in this post, I gave some pretty detailed instructions on how to map a Java 5 enum to a database table using Hibernate. The domain data that was represented in these mappings were not user-editable. They were something like types or statuses, a part of the logic of the application. If [...]
Posted in Uncategorized | Also tagged hibernate, java 5, tips |
Hibernate is used to map java objects to a relational database. Ideally, you would like your java object model to be as object-oriented as possible. It is also nice to be able to use features like java 5 enums while coding the object model. In this tutorial, I’ll share with you how [...]
Posted in Uncategorized | Also tagged data, hibernate, java 5, tutorial |