Core Java
-

How to write one of the fastest expression evaluators in Java
Granted, the title is a bit of an attention grabber, but nevertheless true (You course you never trust a benchmark…
Read More » -

An Annotation Nightmare
@XmlElementWrapper(name="orders") @XmlJavaTypeAdapter(OrderJaxbAdapter.class) @XmlElements({ @XmlElement(name="order_2",type=Order2.class), @XmlElement(name="old_order",type=OldOrder.class) }) @JsonIgnore @JsonProperty @NotNull…
Read More » -

Memory leaks and memory management in Java applications
One of the more prominent features of the Java platform is its automatic memory management. Many people translate this feature…
Read More » -

Determining Presence of Characters or Integers in String with Guava CharMatcher and Apache Commons Lang StringUtils
A recent Reddit post asked the question, “Is there a predefined method for checking if a variable value contains a…
Read More » -

Introduction To JUnit Theories
Have you ever read a mathematical theory? It typically reads something like this: For all a, b > 0 the…
Read More » -

(Part 2 of 3): Synopsis of articles & videos on Performance tuning, JVM, GC in Java, Mechanical Sympathy, et al
This is a continuation of the previous post titled (Part 1 of 3): Synopsis of articles & videos on Performance tuning,…
Read More » -

ArrayList vs LinkedList
I must confess the title of this post is a little bit catchy. I have recently read this blog post…
Read More » -

Extending Guava caches to overflow to disk
Caching allows you to significantly speed up applications with only little effort. Two great cache implementations for the Java platform…
Read More » -

The Logging Olympics – A Race Between Today’s Top 5 Java Logging Frameworks
Developers: Takipi tells you when new code breaks in production – Learn more Log4J vs SLF4J simple vs Logback vs…
Read More »

