• submit to reddit
Giorgio Sironi01/05/12
0 replies

Web application in Clojure: the starting point

Ring is a basic tool for executing your Clojure code into a web server environment, by satisfying HTTP requests and producing responses. In scope, Ring is similar to the Servlet API, but it's not as standard and diffused; by the way, servlets are always used...

Eugen Paraschiv01/05/12
8 replies

Simplifying the Data Access Layer with Spring and Java Generics

1. OverviewThis is the second of a series of articles about Persistence with Spring. The previous article discussed setting up the persistence layer with Spring 3.1 and Hibernate, without using templates. This article will focus on simplifying the Data...

Constantin Alin01/05/12
2 replies

Sorting a HashMap By Values Without Losing Duplicates

The below method sorts a HashMap by values without removing duplicates. It works for <String,String> but it can be modified accordingly for other types:

Mick Knutson01/05/12
2 replies

JMeter load testing against Apache Webserver: Errors and Resolutions

have been working on a fairly simple JMeter load script that I can run a series of 4 sequential pages against an Apache server, but the goal was to have the server support 2,000 concurrent requests for 5 minutes without error. Most of my issues in...

Trisha Gee01/05/12
4 replies

How to make your CV Not Suck

When you're applying for a job at LMAX, your CV (or résumé, for our American readers) usually comes through me and I decide whether to call you for a technical phone screen. I'm going to let you into a secret. I'm going to tell you the criteria I use...

Wayne Adams01/05/12
0 replies

Examining variables in JDI

As I have mentioned in earlier posts, I am using the Java Debug Interface (JDI) to create a Java process-monitoring tool. I'm retracing my steps from an earlier such effort a few years ago, and as I wade through the details, I'm posting details in the...

Peter Lawrey01/05/12
5 replies

What skills should a Core Java Developer have?

I have been trying to put together a list of basic skills a Java developer should have to move on to being an advanced Core Java programmer.

Alied Pérez01/04/12
3 replies

Which public methods are NOT marked with @Transactional? Use a regex.

Yesterday we were doing some code cleaning for a near to deploy project. There we realized that there were some methods which should be @Transactional but they weren't... How to know which ones in a whole project, without checking class by class? Thanks the...

Peter Lawrey01/04/12
11 replies

DZone Top Articles of 2011: How to get C like performance in Java

This article was selected as one of DZone's most popular, high-quality posts of 2011.  It is now republished as part of a series that will revisit the top articles of 2011 throughout the month of January 2012. 

Jim Connors01/04/12
1 replies

Tomcat Micro Cluster

The term Micro Server has been bandied about recently as a means to provide a certain class of server functionality.

Patrick Debois01/04/12
0 replies

Test Driven Infrastructure with Vagrant, Puppet and Guard

This is a repost of my SysAdvent blogpost. It's merely here for archival purposes, or for people who read my blog but didn't see the sysadvent blogpost. Why Lots has been written about Vagrant. It simply is a great tool: people use it as a sandbox...

Rick Copeland01/04/12
3 replies

MongoDB's Write Lock Performance: 1.8 vs. 2.0

MongoDB, as some of you may know, has a process-wide write lock. This has caused some degree of ridicule from database purists when they discover such a primitive locking model. Now per-database and per-collection locking is on the roadmap for MongoDB, but...

Mitch Pronschinske01/04/12
0 replies

Heavy Committing: Flexible Indexing in Lucene 4

Apache Lucene's next major release, 4, will introduce lots of flexibility into indexing, but also fundamental changes to the well-known APIs: It features a...

Ayende Rahien01/04/12
5 replies

Why NoSQL is Not Just For Google and Amazon

In fact, for over 30 years or so, the Database Wars have been settled, the relational databases have won the fight, and the decision left was which relational database to use. Everyone “knows” that NoSQL is something that Google invented to handle the...

Chris Travers01/04/12
0 replies

On the Subject of NoSQL (and a bit about graph databases)

So, before I dive head-long into an actual graph database, it's probably a good idea to briefly discuss what makes a graph database a graph database.