• submit to reddit
Dinuka Arseculeratne09/23/11
18189 views
9 replies

Hibernate by Example - Part 1 (Orphan removal)

So i thought to do a series of hibernate examples showing various features of hibernate. In the first part i wanted to show about the Delete Orphan feature and how it may be used with the use of a story line. So let us begin :)   Prerequisites: In...

Roger Hughes09/23/11
11606 views
1 replies

Using Spring's AspectJ Support and the @Before Annotation

You may have wondered how the Guys at Spring do all that jiggery-pokery with the annotations that you add to your Spring beans. I’m not an expert here, but I suspect that somewhere along the way, they do a little Aspect Oriented Programming using AspectJ...

Martin Hinshelwood09/23/11
8121 views
2 replies

Scrum is hard to adopt and disruptive to your organisation

Before the “Professional Scrum Foundations” course ever existed I was tasked with delivering a practical Scrum foundation course for our customers. I came up with a 2 day “Scrum Foundation” course that included lots of practical exercises and...

Robert Diana09/23/11
6089 views
3 replies

Agile And The Art Of Outsourcing

I was first introduced to outsourcing many years ago when dealing with a client that liked using an Indian consulting company. At that time, around the late 90′s, the company was using purely waterfall development processes and agile was really just...

Krishna Kumar09/23/11
16577 views
16 replies

Making Time for Hobby Programming

I noticed a couple of comments on DZone about programmers with family not having the time to do hobby projects. As I wrote about my own experiences having a child, I really empathize with such concerns. It is not easy. It is really hard to do a fair job...

Rob Williams09/23/11
4865 views
2 replies

Maven and Nexus: Not All Pain is Bad

Right after using Nexus to solve my problem with the Amazon SES dependency imbroglio, I had occasion to make a new Java EE 6 project using the Weld archetype, and, lo and behold, there was more pain to grind through. Clearly, it‘s a good sign when a tool...

Howard Lewis Ship09/22/11
3716 views
1 replies

Changes to Cascade, and a cautionary tale about defrecord

Since I've been talking more about Clojure lately, I've spent a little more time working on Cascade. I've been stripping out a lot of functionality, so that Cascade will no work with Ring and Compojure, rather than being in competition. Its Clojure, after...

Roger Hughes09/22/11
3647 views
2 replies

When Inheriting a Codebase, there are more questions than answers...

There will be that time in your life when you inherit someone else's source tree or codebase and you’ll need to think of a plan to deal with this situation. Now, there are codebases and there are codebases, none are ever perfect, but some are just...

Singaram Subramanian09/22/11
13615 views
0 replies

Apache CXF: How to add custom HTTP headers to a web service request?

HTTP header fields are components of the message header of requests and responses in the Hypertext Transfer Protocol (HTTP). They define the operating parameters of an HTTP transaction, carry information about the client browser, the requested page, the...

Jakub Holý09/22/11
7225 views
5 replies

JUnit Tip: Verifying that an Exception with a Particular Message was Thrown

JUnit has a hidden treasure which makes it easy to do something we have long longed for – namely not only to verify that an exception of a particular type has been thrown but also that its message contains the expected message. The hidden pearl is the...

Mark Needham09/22/11
7746 views
0 replies

Scala: for comprehensions with Options

I’ve generally avoided using for expressions in Scala because the keyword reminds me of for loops in Java/C# and I want to learn to program in a less imperative way. After working with my colleague Mushtaq I realised that in some cases using for...

Jens Dietrich09/22/11
19976 views
4 replies

Dependency Analysis and the Modularisation of Java Programs

Everybody agrees that modularization is good, but how do we go about transforming a big ball of mud architecture to something like OSGi?   Introduction  

Andrzej Olszak09/22/11
6084 views
1 replies

Modularizing Features of Your Legacy Application for Fun & Profit

The user wants me to modify/fix a bug in a certain feature, but what exactly are the classes that I should change? Asking yourself this question on a regular basis? Read on!

Rafał Kuć09/22/11
8274 views
0 replies

Lucene and Solr's CheckIndex to the Rescue!

While using Lucene and Solr we are used to a very high reliability. However, there may come a day when Solr will inform us that our index is corrupted, and we need to do something about it. Is the only way to repair the index to restore it from the backup...

James Sugrue09/22/11
8227 views
1 replies

Jenkins - The Definitive Guide

Since it's introduction to the Java world, Jenkins (or Hudson) has become the continuous integration tool of choice for most development teams. Such a prolific tool needs an extensive reference, and...