• submit to reddit
Markus Eisele09/19/11
5543 views
1 replies

Response GZIP Compression with GlassFish in Production

A lot has been written about this and this basically should be common knowledge, but talking to different people out there and looking at the efforts Google takes to improve page speed it seems to me that the topic is worth a second and current look. The...

Damaris Coll09/19/11
4192 views
0 replies

Graph Databases use case: Bibliographic exploration

Bibliographic exploration is an interesting use case for Graph Databases. Bibliographic exploration rises after the need to query huge bibliographic resources to obtain relevant information for researchers. There are many questions that researchers try to...

Israel Gat09/19/11
8132 views
1 replies

Should You Ship This Code Before Reducing Technical Debt?!

Technical debt is usually perceived as a measure of expediency.

Nicolas Frankel09/18/11
4519 views
2 replies

Better Maven integration leads to unforeseen consequences (bugs)

This week, I was faced with what seemed an near-insuperable problem. I was called by one of my dev: as soon as he upgraded his Eclipse (or more precisely, our own already-configured Eclipse), he couldn’t deploy to Tomcat through WTP. Here are the steps I...

Martin Thompson09/18/11
8452 views
4 replies

Adventures with AtomicLong

Sequencing events between threads is a common operation for many multi-threaded algorithms.  These sequences could be used for assigning identity to orders, trades, transactions, messages, events, etc.  Within the Disruptor we use a monotonic sequence...

Jens Schauder09/18/11
3827 views
0 replies

Honor Your Legacy Code

Many of us groan when they have to deal with legacy code. Especially those among us who fancy themselves to be craftsmen or clean coders often complain about long convoluted classes and methods, no tests and a tangle of dependencies. I wrote before that...

Martijn Verburg09/18/11
4794 views
1 replies

The OpenJDK as the default Java on Linux

Recently I’ve received a bunch of private correspondence from people confused/worried over the change in the default Java packaging for Linux. For many Linux distributions, the official Sun/Oracle version of Java has been packaged up as the default Java...

Markus Eisele09/18/11
6810 views
0 replies

The Heroes of Java: Charles Oliver Nutter

The second part in my recent interview series: "The Heroes of Java". Charles Oliver Nutter

Grant Ingersoll09/18/11
12154 views
1 replies

Estimating Memory and Storage for Lucene/Solr

Many times, clients ask us to help them estimate memory usage or disk space usage or to share benchmarks as they build out there search system.

Niklas Schlimm09/17/11
5740 views
0 replies

Your web applications work - by sheer coincidence!

This blog describes a solution to a typical concurrency problem in a web application environment, and it illustrates that you - in all likelihood - cannot be sure that your application is thread-safe. It just works - by sheer coincidence.

Jakub Holý09/17/11
17523 views
3 replies

Practical Introduction into Code Injection with AspectJ, Javassist, and Java Proxy

The ability to inject pieces of code into compiled classes and methods, either statically or at runtime, may be of immense help. This applies especially to troubleshooting problems in third-party libraries without source codes or in an environment where it...

Peter Lawrey09/16/11
7148 views
4 replies

Memory alignment in C, C++ and Java

You might assume that reducing the size of a struct or class saves the same amount of memory.    However due to memory alignment in memory allocators it can make no difference, or perhaps more difference than you might expect.    This is because the...

Kapil Viren Ahuja09/16/11
3663 views
0 replies

Want to Host on Maven Central?

Recently, when I decided to make my projects available to the Java Community under Open Source license, I did a lit of things like Hosting my code on Google Code, using Maven to build and test the code and also making sure that I have a project site up and...

Ben Kepes09/16/11
6112 views
1 replies

Is the Stack Dead?

For years now those of us who talk Cloud on a daily basis have used variations on a triangle shape as a way to articulate what Cloud actually is and how the various services that make up Cloud can be differentiated.