10 Subtle Best Practices when Coding Java

This is a list of 10 best practices that are more subtle than your average Josh Bloch Effective Java rule. While Josh Bloch's list is very easy to learn and concerns everyday situations, this list here contains less common situations involving API / SPI design that may have a big effect nontheless. I have encountered … Continue reading 10 Subtle Best Practices when Coding Java

Apache Derby About to Adopt the Awesome SQL:2003 MERGE Statement

Apache Derby is one out of three popular Java embeddable databases (apart from H2 and HSQLDB). It is very SQL and JDBC standards-compliant, but maybe a bit behind on developments of more advanced SQL features. Around 6 years after its first submission, there has now been some action on the Apache Derby DERBY-3155 ticket, recently. Rick Hillegas has attached a first, … Continue reading Apache Derby About to Adopt the Awesome SQL:2003 MERGE Statement

Java EE 7: JSRs That Make You Powerful

Tori Wieldt by Oracle has released an overview of all the goodies that are included in Java EE 7: https://blogs.oracle.com/java/entry/java_ee_7_the_details ... with a couple of video presentations: http://www.youtube.com/playlist?list=PL74xrT3oGQfCCLFJ2HCTR_iN5hV4penDz

jOOQ Newsletter August 2013

Subscribe to this newsletter here Overwhelming feedback from the jOOQ User Survey jOOQ has been the leading Java Open Source SQL building tool for the last three years. Feedback on social media such as Facebook, Twitter, reddit, Stack Overflow has been very positive. The recent user survey was well received by an increasingly growing jOOQ … Continue reading jOOQ Newsletter August 2013

What if every object was an array? No more NullPointerExceptions!

To NULL or not to NULL? Programming language designers inevitably have to decide whether they support NULLs or not. And they've proven to have a hard time getting this right. NULL is not intuitive in any language, because NULL is an axiom of that language, not a rule that can be derived from lower-level axioms. … Continue reading What if every object was an array? No more NullPointerExceptions!

10 More Common Mistakes Java Developers Make when Writing SQL

I was positively surprised to see how popular my recent listing about 10 Common Mistakes Java Developers Make when Writing SQL was, both on my own blog and on my syndication partner DZone. The popularity shows a couple of things: How important SQL is to the professional Java world. How common it is to forget about some basic … Continue reading 10 More Common Mistakes Java Developers Make when Writing SQL

Conference Gem: The MEDIT Symposium

The MEDIT Symposium is one of this year's international conference gems that you shouldn't miss, if you're into Open Source! It features three very interesting tracks Cloud Computing Open Source Mobile Development I'm delighted to line up my own talk about jOOQ with Apache committers (Cassandra, Cordova, Isis), Groovy Language Toolkit developers, researchers and book authors. … Continue reading Conference Gem: The MEDIT Symposium

Twitter and the JVM

Here's an interesting read about Twitter and why they had chosen to migrate to the JVM for scalability. A must-read for everyone working on Java, Scala, or other JVM languages: http://www.forbes.com/sites/oracle/2013/08/01/theres-java-in-your-tweets/

Use ModelMapper and jOOQ to Regain Control of your Domain Model

One of the things that Hibernate is quite good at is CRUD, i.e. persisting object graphs to the database. This is particularly true if your application runs in a Java domain-model-driven context. Your models are required to adhere to the standards set by JPA/Hibernate, of course. The same applies to mapping relational-model-driven data onto complex … Continue reading Use ModelMapper and jOOQ to Regain Control of your Domain Model

Oracle 12c Goodies: { CROSS | OUTER } APPLY

I can't believe my eyes. Has this been openly communicated by Oracle? I haven't seen too many blog posts on that matter. Apart from introducing the awesome SQL Standard OFFSET .. FETCH clause (just like SQL Server 2012), there seems to be now also { CROSS | OUTER } APPLY in Oracle 12c! Check out the … Continue reading Oracle 12c Goodies: { CROSS | OUTER } APPLY