• submit to reddit
James Sugrue10/14/11
2 replies

I'm a Developer. I Understand...

As consumers we get more and more demanding, expecting features in everything we use to be perfect. But as developers, we really should be more understanding. Too often, we fail to put ourselves into other developers' shoes. No one is looking to make the...

Mitch Pronschinske10/14/11
1 replies

You can’t be Agile in Maintenance?

I’ve been going over a couple of posts by Steve Kilner that question whether Agile methods can be used effectively in software maintenance. It’s a surprising question really.

Axel Rauschmayer10/14/11
1 replies

logo.js – JavaScript has a (semi-)official logo

On Oct 4th, Chris Williams (@voodootikigod) published logo.js on GitHub. In his words:

Bozhidar Bozhanov10/14/11
9 replies

Getters and Setters Are Not Evil

Every now and then some OOP purist comes and tells us that getters and setters are evil, because they break encapsulation. And you should never, ever use getters and setters because this is a sign of a bad design and leads to maintainability nightmares.

Robin Bramley10/13/11
1 replies

Using JMS in Grails

The Java Message Service (JMS) API is one of the cornerstones of the Java Enterprise Edition that allows applications to reliably communicate using asynchronous messages sent via a message broker. This article provides an introduction to JMS, the JMS...

Joachim Hofer10/13/11
1 replies

Accessing the Heroku REST API via Dispatch

Now that I have an extremely simple Heroku app up and running (see my previous post) and don’t know what to do with it, the logical next step for me was to check out Heroku’s REST API. Ok, so first, let’s look up the REST API documentation…

Howard Lewis Ship10/13/11
1 replies

Things You Didn't Know About Tapestry 5.3

I missed the JavaOne Comparing Web Frameworks talk and was appalled at some out-of-date information in it ... though reviewing his slides, it looks like he talked about Tapestry 5 but showed out-of-date Tapestry 4 examples. With Tapestry 5.3 ready very...

Andrew Salvadore10/13/11
10 replies

The power of three lines of scala

I was looking at this problem on project Euler.net and I was amazed it only take 3 lines of scala code (with one being the number itself)!val bigNum = "73167176531......" def product(digits: String) = {...

Roger Hughes10/13/11
0 replies

Using PowerMock to Mock Static Methods

In a recent blog, I tried to highlight the benefits of using dependency injection and expressing the idea that one of the main benefits of this technique is that it allows you to test your code more easily by providing a high degree of isolation between...

Mitch Pronschinske10/13/11
20 replies

AsK DZ: Will Java Make a Comeback?

An interesting prediction of a Java resurgance in web development came from the "I, Cringely" blog.  The post was entitled: "The second coming of Java" and here was what author Bob Cringely's theory boiled down to:

David Fishman10/13/11
0 replies

Lucene goes from Enterprise Search to search platform

Somewhere in the soap opera that might be titled ‘As Hewlett Packard Turns’, the question of the impact of the Autonomy acquisition on the market once known as ‘Enterprise Search’

Giorgio Sironi10/13/11
2 replies

OAuth in headless applications

OAuth is a wonderful standard: it allows users to give permissions to a third-party service to use theirs accounts on a website; but it works without forcing them to share their password like a phishing website would do.The typical use of OAuth is for...

Kai Wähner10/13/11
4 replies

Pros and Cons – When to use a Portal and Portlets instead of just Java Web-Frameworks

I had to answer the following question: Shall we use a Portal and if yes, should it be Liferay Portal or Oracle Portal? Or shall we use just one or more Java web frameworks? This article shows my result. I had to look especially at Liferay and Oracle...

Jakub Holý10/12/11
2 replies

Spring: Make an Externally Created Object Available to Beans in applicationContext.xml

If your Spring beans need access to an object that is not created by Spring itself, you can “inject” it into the context by using a static parent context and registering the object with it. Beans can then reference it just as if it was defined in the...

Markus Eisele10/12/11
0 replies

Java EE Past, Present, & Cloud 7

One prominent topic of the recent JavaOne 2011 was the next major Java EE 7 release. As stated in the keynotes, the work on it is well underway. It will contain the 28 specifications we already know from the forerunner plus a number of new specs. Nobody...