• submit to reddit
Lijin Joseji07/23/12
12431 views
0 replies

The Second Level Cache in Hibernate: Settings and Configurations

A Hibernate Session is a transaction-level cache of persistent data. We can configure a cluster or JVM-level (SessionFactory-level) cache on a class-by-class and collection-by-collection basis. We can also plug in a clustered cache into Hibernate.

Gareth Rushgrove07/23/12
5333 views
0 replies

Version Control And Deployment Of Cron Jobs

A recent question on Twitter prompted me to write a quick blog post about managing cron jobs. As more and more people want to automate provisioning and deployment of web applications some, maybe previously manually managed, items come into the fold.

Stoimen Popov07/23/12
26991 views
0 replies

Algorithm of the Week: Balancing a Binary Search Tree

The binary search tree is a very useful data structure, where searching can be significantly faster than searching into a linked list. However in some cases searching into a binary tree can be as slow as searching into a linked list and this mainly depends on the input sequence.

Mitch Pronschinske07/23/12
6775 views
0 replies

Spin Up New VMs in Their Own Virtual Network - A New FOSS Tool

Terraform is a flexible tool made available under the Apache 2.0 license that makes it easy to define, instantiate and manage environments. Terraform integrates with existing cloud providers. Today, Amazon EC2 and VMWare vSphere are supported.

Nikita Salnikov...07/23/12
26155 views
6 replies

Busting PermGen Myths

In my latest post I explained the reasons that can cause the java.lang.OutOfMemoryError: PermGen space crashes. Now it is time to talk about possible solutions to the problem

Joe Stein07/23/12
3798 views
0 replies

Faster Datanodes With Less Wait IO in Hadoop

I have noticed often that the check Hadoop uses to calculate usage for the data nodes causes a fair amount of wait io on them driving up load.

Christian Posta07/23/12
6348 views
0 replies

Why Should We ‘Waste Time’ On Unit Tests When We Could Be Writing Functionality?

Our goal when writing code is to write ‘high-quality’ code, not just hack together what appears to work and moving on to the next set of functionality.

Dustin Marx07/23/12
1977 views
0 replies

The Software Developer's Pensieve

Most serious engineers have learned to appreciate a medium for saving thoughts, decisions, and results of experiments or discussions for later reference. This is no less valuable for the software developer.

Andrzej Krzywda07/23/12
3260 views
3 replies

JS Frontends are like Desktop Apps

I noticed a trend recently, among developers, that we need to learn how to work with JS frontends. Obviously, it's great that people want to improve their skills, but is it really something new that we need to learn?

Markus Eisele07/23/12
3214 views
0 replies

The Heroes of Java: Werner Keil

Werner Keil has worked for more than 18 years as project manager, software architect, analyst and consultant on leading-edge technologies

Adam Warski07/23/12
2169 views
0 replies

Generational Caching and Envers

The basic idea is that for cache keys you use some entity-specific string + version number. The version number increases whenever data changes, thus invalidating any old cache entries, and preventing stale data reads.

Josh Adell07/23/12
6585 views
0 replies

Neo4j for PHP

Neo4j was originally built to be embedded in Java applications, and most of the documentation and examples are evidence of that. Unfortunately, there is no native PHP wrapper for talking to Neo4j. Luckily, Neo4j also has a built-in REST server and PHP is very good at consuming REST services. There's already a good Neo4j REST PHP library out there, but I decided to write my own to get a better understanding of how the REST interface actually works.

Vincent Partington07/23/12
2461 views
0 replies

Scaling the Hybrid Cloud Horizontally

So what does a hybrid cloud actually mean? A hybrid cloud is a composition of a private cloud and public cloud. There are two types of scaling patterns when using a hybrid cloud: vertical and horizontal.

Nirav Assar07/23/12
9404 views
0 replies

5 Ways to Think Wisely in Development

Recently I have been reading some popular and interesting social psychology books. The contents are based on empirical evidence and scientific research, and often provide stories about how society operates, and why people behave the way they do. Some of the books in this genre include: Freakonomics, The Tipping Point, Outliers and Kluge

Dalip Mahal07/23/12
31353 views
20 replies

Debuggers are for Losers

Just as airbags are the last line of defense in a car, a debugger should be the last line of defense for a programmer.