List/Grid Tag Archives: Performance

High Performance JPA with GlassFish and Coherence – Part 2
In this second part of my four part series I’ll explain strategy number one of using Coherence with EclipseLink and GlassFish.This describes the steps you have to take to configure ...

High performance JPA with GlassFish and Coherence – Part 1
Have you heard about Coherence before? Probably yes. It’s one of those famous in-memory grid solutions promising awesome fast data access and unlimited space for your ...

Java Secret: Loading and unloading static fields
OVERVIEW To start with it is natural to assume that static fields have a special life cycle and live for the life of the application. You could assume that they live is a special place ...

Quick tips for improving Java apps performance
Ever had performance problems? Yeah me too. If my manager screams “faaaaster” one more time, i will have hearing impairment for the rest of my life. BTW, did i sense a German pronunciation ...

C++ or Java, which is faster for high frequency trading?
Overview There are conflicting views as to what is the best solution for high frequency trading. Part of the problem is that what is high frequency trading varies more than you might ...

How to get C like performance in Java
Overview Java has many areas which can be slow. However for every problem there is a solution. Many solutions/hacks require working around Java’s protections but if you need low ...

Hibernate autocommit commands force MySQL in excessive disk I/O
Dear All, I am sure many of you use Hibernate and MySQL, I use it here and there myself. Generally the programming model is nice, but it is no secret that plain JDBC can be a lot faster. ...

Java Secret: Using an enum to build a State machine
Overview The enum in Java is more powerful than many other languages which can lead to surprising uses. In this article, I outline some the individual features of enum in Java, and ...

Low GC in Java: Use primitives instead of wrappers
Overview There are two good reason to use primitives instead of wrappers where possible.Clarity. By using a primitive, you are making it clear that a null value is not appropriate. Performance. ...

DataNucleus 3.0 vs Hibernate 3.5
DataNucleus Access Platform, as stated at the official product site, is the most standards-compliant Open Source Java persistence product in existence. It is fully compliant with the ...

