File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes OO, Patterns, UML and Refactoring and the fly likes Little patterns article Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "Little patterns article" Watch "Little patterns article" New topic

Little patterns article

Kyle Brown
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
After having gotten a lot of blank looks about a subject that I thought should be obvious, I wrote an article for IBM DeveloperWorks on Simulated DataSources. Believe it or not, the topic first came up at the XP Universe 2001 when I was discussing testing with a bunch of XP practitioners and found that none of the Java folks (but ALL of the ex-Smalltalk folks) used this particular approach. So I I'd like your opinion on it -- is this a new idea to people, or have I just been dealing with some folks who just didn't get it?

Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at for other WebSphere information.
Ilja Preuss

Joined: Jul 11, 2001
Posts: 14112
I think it's something from both. Once you have some experience using Mockobjects, the approach becomes quite obvious, IMHO. But obviously there are also many developers not having that experience...

The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
I agree. Here's the link:
subject: Little patterns article
It's not a secret anymore!