• submit to reddit
Jakub Holý08/08/11
3 replies

DbUnit Express Tips: Setup Simplification, Custom Data File Convention

I’ve recently introduced here DbUnit Express, a wrapper around DbUnit intended to get you started with testing DB-related code in no time, and now I’d like to share two productivity tips: simplifying db tester setup with a parent test and...

Trisha Gee08/08/11
2 replies

Dissecting the Disruptor: Demystifying Memory Barriers

My recent slow-down in posting is because I've been trying to write a post explaining memory barriers and their applicability in the Disruptor. The problem is, no matter how much I read and no matter how many times I ask the ever-patient Martin and Mike ...

Peter Lawrey08/08/11
2 replies

Should server applications limit themselves to 4 GB?

A very interesting talk by CTO of Azul, Gil Tene raises many timely issues about GC performance and server memory sizes.

Gordon Dickens08/08/11
0 replies

Adding Queries to Spring Data-JPA

In my previous post, Simpler JPA with Spring Data-JPA I showed how to configure a repository interface which Spring Data will implement for us. Let me show how easy it is to add queries. Modify the Repository Interface Simply define the method interface...

Dinuka Arseculeratne08/08/11
8 replies

What I Love About PHP

First of all I must say im relatively new to the whole PHP scene. Coming from an OOP background with mostly Java/C++ experience I must say the transition was not rough as I expected it to be. Unfortunately I have not been able to code in PHP at an...

Solomon Duskis08/07/11
0 replies

Retroactive Interfaces

We wanted to add some AoP HttpClient, and had to use Java Proxy which can only proxy an interface. HttpClient 3.0 doesn't have interfaces. So here's how I got around that problem with a "retroactive interface":

Adam Warski08/07/11
0 replies

Using Envers with AS7

Recently I tried deploying a web application which uses Envers into AS7, but unfortunately I encountered some problems (see the forum discussion). Luckily thanks to the helpful JBoss guys I’ve got it working now. Moreover, thanks to the work done by...

Gordon Dickens08/07/11
0 replies

Simpler JPA with Spring Data-JPA

How to configure your Spring application with Simple CRUD configuration with Spring Data-JPA.

Jelle Victoor08/07/11
1 replies

Java EE6 Decorators, advanced usage

After my first article about Java EE6 decorators, it got some attention on dzone. I got some comments telling me the example isn’t exposing the true power of the decorator feature.

Peter Lawrey08/07/11
4 replies

Comparing Collections speeds

The speed of different collections tends to depend on their usage pattern however it can be useful to have an idea of their relative performance.

Mitch Pronschinske08/07/11
0 replies

Solr/Lucene Leader Grant Ingersoll Promoted to 'Chief Scientist' at Lucid Imagination

Grant Ingersoll, who is a major leader in the Apache Lucene, Mahout, and Solr communities and a friend of DZone (see our most recent interview), was bestowed with the title of 'Chief Scientist' at Lucid Imagination—a commercial Solr solutions provider that...

Mats Lindh08/07/11
0 replies

Modifying a Lucene Snowball Stemmer

This post is written for advanced users. If you do not know what SVN (Subversion) is or if you’re not ready to get your hands dirty, there might be something more interesting to read on Wikipedia. As usual. This is an introduction to how to get a Lucene...

Paul Stack08/07/11
1 replies

Considerations when choosing hardware for CI

This post is the second post in a series on how CI will help a development team. The first post talks about the benefits that CI will bring to the team. (CI = continuous integration)

Lukas Eder08/07/11
0 replies

The power of REF CURSOR types and why we shouldn't avoid them any longer in Java

Many RDBMS have started implementing support for some sort of CURSOR, REF CURSOR or ARRAY/TABLE types.

Peter Lawrey08/06/11
3 replies

Reading/writing GC-less memory

How you access data can make a difference to the speed. Whether you use manual loop unrolling or let the JIT do it for you can also make a difference to performance. I have included C++ and Java tests doing the same thing for comparison.