• submit to reddit
Rafał Kuć02/08/12
0 replies

Using Solr's Dismax Tie Parameter

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.

Judah Johns02/08/12
0 replies

Easiest Way to Deploy ColdFusion to the Cloud

Learn how to deploy a Cold Fusion 9 application to the cloud using Jelastic. This tutorial will take you through creating an environment, the WAR file, and deploying the Java package.

Christoph Beck02/08/12
0 replies


XML is for dinosaurs, right? Everybody uses JSON these days. So you do, don't you? But what about things like XSD, XSLT, JAXB, XPath, etc -- is it all evil?

Mark Needham02/08/12
0 replies

Looking for the seam

A seam is a place where you can alter behaviour in your program without editing in that place.

Thomas Bolz02/08/12
0 replies

JavaFX NumberTextField and Spinner Control

Doing a custom control in JavaFX is a good practice to dive a little bit deeper into the concepts of a new gui library. See how easy it is to work with NumberSpinner and NumberTextField in JavaFX

Jakub Holý02/08/12
0 replies

Separating Integration and Unit Tests with Maven, Sonar, Failsafe, and JaCoCo

Goal: Execute the slow integration tests separately from unit tests and show as much information about them as possible in Sonar.

Nicolas Frankel02/08/12
6 replies

CDI worse than Spring for autowiring?

Let’s face it, there are two kinds of developers: those that favor Spring autowiring because it alleviates them from writing XML (even though you can do autowiring with XML) and those that see autowiring as something risky.

Jens Schauder02/08/12
0 replies

Unit Tests: Searching under the Lamp Post

I’m a big fan of unit tests (Surprise). When ever possible I practice TDD. I like how that approach coerces me into making smaller classes, less dependencies, cleaner abstractions. And of course I love it when my unit tests catch a regression before I even start the application.

Peter Lawrey02/08/12
0 replies

Ultra low latency Event Store

There are two basic libraries for managing data in Java, JDBC (for connecting to database) and JMS (for messaging). For some use cases you ideally want both, and you want it to be very fast.

Andy Gibson02/08/12
0 replies

Implementing Spring MVC with CDI and Java EE 6 part 1

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.

Pat Shaughnessy02/07/12
3 replies

Journey to the Center of JRuby

An informative, in-depth post about the Java implementation of the Ruby interpreter. Pat Shaughnessy includes some background on both Java and Ruby, as well as other sections about byte code and assembly language. Best of all are the old-timey pics (and the plentiful code).

Martin Fowler02/07/12
0 replies

Martin Fowler: The Future is not just NoSQL, it's Polyglot Persistence

Martin Fowler and Pramod Sadalage have s recently released a slick infodeck tracing a simple history of databases, as well as a prophecy of the future. They suggests that we've been charged with a decision to either reduce development drag or embrace large scale, which eventually leads to "a world of polyglot persistence."

Stoimen Popov02/07/12
1 replies

Algorithm of the Week: Data Compression with Prefix Encoding

Prefix encoding, sometimes called front encoding, is yet another algorithm that tries to remove duplicated data in order to reduce its size. Its principles are simple, however this algorithm tends to be difficult to implement. The good thing is that this algorithm can be used in many cases once we know the data format in advance. So here are three examples where this algorithm can be very handy.

Tony Russell-rose02/07/12
0 replies

Findability is So Last Year

Search is more than just findability. So why the fixation with findability? Out of 104 enterprise search scenarios, less than 2% were categorised as findability tasks. In this post you will learn about the broader, overall information goals for most search efforts.

Sandro Mancuso02/07/12
1 replies

Code coverage is a side effect and not an end goal

In my previous life as a consultant, one of our clients hired us to "increase the code coverage" of their code base. We would not develop any new features or make any changes. They just wanted us to write tests. Basically they wanted us to bring the coverage up to 70%. Why 70% you may ask. Probably because someone pulled a finger out of his or her back orifice, sniffed it and thought: Hmm.. this definitely smells like 70%.