Every time I used to see some duplication of code, I used to move that code to a new method. With Tapestry, you begin to think differently. Now every time I see duplication, my first thought is “Can I create a worker for it”.
In my current project, I am using a few new ones. So I thought why not share them with you.
Java can be very tricky some times, especially in API design. Let’s have a look at a very interesting showcase. jOOQ strongly separates API from implementation. All API is in the org.jooq package, and public. Most implementation is in the org.jooq.impl package and package-private. Only factories and some dedicated base implementations are public. This allows for very powerful package-level encapsulation, exposing mostly only interfaces to jOOQ users.
In this second article on implementing Spring MVC in Java EE 6 we’ll take the metadata we extracted in part one and use it to invoke request mapped controller methods in response to web requests and then direct the user to a web page based on the result of the method.
It’s that time of the year again when the mobile web ecosystem changes. Google Chrome Beta for Android was released and it appears as the future replacement of Android Browser. I’ve made a deep analysis on the browser HTML5 compatibility and the comparison with Safari on iOS and Android Browser and I’ll show in this post my results.
To allow one application to communicate with another running in a different process, Android provides an implementation of Inter-Process Communication through the Android Interface Definition Language (AIDL).
Here's an example graph dataset to illustrate how Pipes works. Pipes is TinkerPop's dataflow framework that uses Gremlin, a graph traversal language. According to Marko Rodrigues, the pipes distribution includes multiple pipes that can be "mixed and matched to yield lazy graph traversals." This post includes plentiful cool Mario graphics.
Most of the time in Solr's Dismax query parser we use parameters like qf, pf or mm forgetting about a very useful parameter which allows us to control how the lower scoring fields are treated – the tie parameter. In this article you'll learn how this parameter can be put to good use.