Category Archives: Java

HAvroBase: a searchable, evolvable entity store on top of HBase and Solr

Building out a social consumer internet product that could change quickly and evolve over time puts special requirements on the underlying data store. You need to be prepared for scale but not investing too much too early, your business may … Continue reading

Posted in Java, Startup, Technology | View Comments

Static-typing is a powerful metadata database, exploit it!

Today someone decided to pretend they knew something about how a modern statically typed language developer works.  Perhaps they are big emacs fans or something because they felt that static-types leading to autocomplete in an IDE was somehow a feature … Continue reading

Posted in Java, Technology | View Comments

Building the ideal web application template engine

A month and a half ago I had put out a call for what I was calling the ‘ideal web application template engine‘ along with a list of requirements that I thought would be present in such a system.  Since … Continue reading

Posted in Java, Technology | View Comments

Android Dalvik VM performance is a threat to the iPhone

One of the peculiarities of Apple is that they have set themselves down a path where every Apple developer needs to learn Objective-C (and C/C++) to build applications for their platform.  The biggest characteristic of Objective-C vs Java is dynamic … Continue reading

Posted in Apple, Java, Technology | View Comments

Maven artifacts need to be more discoverable

The laundry list of repositories that are filling the POM in Maven projects has to go. The ideal of having a central store of all artifacts is clearly dead and we have to move on. My proposal is two fold. … Continue reading

Posted in Java, Technology | View Comments

Using JAX-RS with Protocol Buffers for high-performance REST APIs

One of the great things about the JAX-RS specification is that it is very extensible and adding new providers for different mime-types is very easy. One of the interesting binary protocols out there is Google Protocol Buffers. They are designed … Continue reading

Posted in Java, Technology | Tagged | View Comments

Using JAX-RS (Jersey) to build a JPA/JAXB-backed JSON REST API

I’ve been looking for a while though to find that perfect combination of frameworks and libraries that would give me the expressive power that I want for building web applications — now I think I’ve found it. Continue reading

Posted in Java, Technology | Tagged , , , , , , , , , , , | View Comments

Better Javadoc results using SearchMonkey

When you are searching for things like java.util.HashMap one of the issues that you run into is that it will give you the result with the highest rank which more often than not is the 1.4.2 version of the documentation. … Continue reading

Posted in Java, Technology | Tagged , , , , | View Comments

JPA 2.0 with Criteria

(see: JSR 317 Persistently Improving) I love the idea of adding a criteria API to JPA, the only thing I hope that they do differently than Hibernate is to implement that API in addition to string queries.  In Gauntlet we had … Continue reading

Posted in Java, Technology, gauntlet | Tagged , , , , , | View Comments

Generate JPA (or GORM) classes from your database for Java and Grails

Whether you start with the database or start with code, no one wants to do the other one. Certainly by the DRY principle it is a waste of time and potentially a place where you could introduce bugs into your … Continue reading

Posted in Java, Technology | Tagged , , , , , , , , , , | View Comments