• submit to reddit
Jay Fields11/06/11
2758 views
1 replies

Clojure: expectations unit testing wrap-up

The previous blog posts on expectations unit testing syntax cover all of the various ways that expectations can be used to write tests and what you can expect when your tests fail. However, there are a few other things worth knowing about...

Wayne Adams11/06/11
2963 views
0 replies

Breakpoint processing in JDI

I've been working on a JDI (Java Debug Interface) project lately and have been posting helpful tips as I go along. It has been a few years since I've worked with this API, but although I know there have been a few enhancements, the API is quite consistent...

Markus Eisele11/05/11
6041 views
1 replies

EclipseCon Europe - Java 7 in the Enterprise

Yesterday at EclipseCon Europe 2011, I gave two talks about Java 7 use in the enterprise. Both had their attendees (around 40 to 50) and I think the input I gave was quite valuable to them. The motivation of both talks was to actually show, how and where to...

Jay Fields11/05/11
2518 views
0 replies

Clojure: expectations - removing duplication with given

expectations obviously has a bias towards one assertion per test; however, there are times that verifying several things at the same time does make sense. For example, if you want to verify a few different properties of the same Java object it probably...

Mitch Pronschinske11/05/11
7797 views
1 replies

Netflix Benchmarks on AWS Show Cassandra NoSQL Still Has the Goods

A little more than a year ago, Apache Cassandra's reputation was untouchable.  It was blowing other NoSQL data stores out of the water in benchmarks and in our very own DZone popularity poll.  What else would you expect from the data solution that was...

Michael Mccandless11/05/11
6506 views
2 replies

Near-real-time readers with Lucene's SearcherManager and NRTManager

Last time, I described the useful SearcherManager class, coming in the next (3.5.0) Lucene release, to periodically reopen your IndexSearcher when multiple threads need to share it. This class presents a very simple acquire/release API, hiding the thread-safe...

Mitch Pronschinske11/05/11
6451 views
8 replies

Infrastructure Debt Harder to "Pay Off" Than Technical Debt

Most of you have probably heard the term "Technical Debt".  It's basically those bugs in a code base that add up after messy quickfixes that don't involve the proper amount of testing and refactoring.  The @TheKeyboard blog recently coined a the...

Markus Eisele11/04/11
4269 views
2 replies

Oracle 2008 - 2011 in Gartners Magic Quadrant for Enterprise Application Servers

Gartner publishes their Magic Quadrants for different areas since years. They are basically good for positioning a specific technology players within a specific market. Clients often use Magic Quadrants as a first step to understanding the technology...

Lukas Eder11/04/11
4033 views
0 replies

Use jOOQ inside your H2 database

I recently became aware of an interesting use-case for jOOQ when I was optimising my own H2 database integration tests: H2 stored functions H2 knows two operation modes for stored functions: “Inline mode” with source code provided“Reference mode”...

Jay Fields11/04/11
2559 views
0 replies

Clojure: expectations and Double/NaN

I'm not really a fan of Double/NaN in general, but sometimes it seems like the least evil choice. When I find myself in one of those cases I always hate having to write tests in a way that differs from all the other tests in the codebase. A goal I've...

Mitch Pronschinske11/04/11
16375 views
0 replies

Spring + Hibernate + Google AppEngine's Cloud SQL = Awesome!

Java developers like Keith Mukai are doing some pretty awesome things with Google's preview of Cloud SQL for Google AppEngine.  Keith created a proof-of-concept app using Spring and Hibernate that was approved by Google to be part of the Cloud SQL limited...

Martin Fowler11/04/11
5891 views
4 replies

Contextual Validation: Martin Fowler Retread

This is a Retread by Martin Fowler of an earlier version of this post which was first published in 2005.  Definitely worth a read.In my writing endeavors, I've long intended to write a chunk of material on validation. It's an area that leads to a lot...

Mitch Pronschinske11/04/11
10789 views
4 replies

Apache Harmony Finally Defeated

Some have probably been expecting it for a long time, and this week it finally happened.  Apache Harmony, an open source cleanroom implementation of Java was moved to the Apache Attic, where inactive projects are sent.  The project management committee...

John Esposito11/04/11
7185 views
0 replies

HTML5 < time > element: returned!

Well, after much hubbub, including some here at DZone, the HTML5 <time> element has returned.Paul Cotton, on behalf of the chairs of the working group, issued a revert request -- and his explanation is interesting: The Chairs have received multiple...