Another case study on TDRE. Provided: 2,938 lines of
Python code which process a handful of large files to create a number of
outputs. [Details can't be disclosed.] Objective:
Refactor to distinguish between the overall sequence of
The first introduction to refactoring for many programmers
comes when a senior developer on the team takes a look at what they have
written, yells some expletives and starts deleting blocks of code that
has probably taken them days to write. After a few...
When we are learning Spring, there are times we are not sure which
beans are in the Spring context. Especially when we use convenient
features of Spring 3 such as <context:annotation-driven/> or
<context:component-scan/>. As developers, we...
Welcome to another installment of DZone Interviews here at Groovy Zone. On this occassion we interviewed Kenneth Kousen, a name that should be familiar to people browsing the Groovy User mailing lists as Ken is quite active there. I won't spoil the contents...
When I develop my ColdFusion applications, I work in two different
environments. I develop the applications on my local machine, then
deploy them to the server when I reach particular milestones or when
it's ready for limited user testing. Even though I...
Yesterday, Oracle released the
latest evolution of Coherence, their flagship, distributed in-memory
data grid product Oracle Coherence 3.7. Coherence 3.7 simplifies the
configuration and management of large-scale deployments and provides
more data storage...
The Composite pattern is a very powerful design pattern that you use
regularly to manipulate a group of things through the very same
interface than a single thing. By doing so you don’t have to
discriminate between the singular and plural cases, which...
In my previous
post, I showed how to convert a Spring web controller class to use the
@Controller annotation. In this post, I aim to show how forms in a
Spring MVC application can also be converted to using annotations.
A criticism I hear often about Maven is, “every time you run Maven,
it downloads the internet.” I understand the criticism, as the first
time you run Maven it has to populate your local repository. Maven
downloads plugins and artifacts that your...
Cloud Foundry is an incredibly cool way to build and deploy cloud apps to any target cloud using very simple commands.The basic api has just three commands:vmc target cloud.url //targets a cloudvmc login // login to cloudvmc push // run your app in the...
I've pretty much overlooked the secondary cache for ORM and, having
now played with it, I've realized what a big feature and performance
enhancer this is.In short with secondary cache on
ColdFusion can get data from ehCache instead of the database. Set up...
I’m preparing a code dojo for my colleges at Iterate
where we will try to collectively refactor the “legacy” Hudson/Jenkins,
especially Hudson.java, to something more testable, using the Mikado Method. I’ve got the idea after reading Gojko Adzic’s...