Core Java
-
Composing Java annotations
The allowed attribute types of a Java annotations are deliberately very restrictive, however some clean composite annotation types are possible…
Read More » -
Wordcounter, Counting Words in Java with Lambdas and Fork/Join
These days I released Wordcounter, a Java library and command-line utility for counting words in text files and performing analysis…
Read More » -
Java Management Extensions
What is JMX? The Java Management Extensions (JMX) is an API used for managing or monitoring various resources such as…
Read More » -
Who is stealing your memory? The Application Servers Edition
You create an amazing app. You put it into production. And you notice that you justdo not have enough memory…
Read More » -
Guava Splitter vs StringUtils
So I recently wrote a post about good old reliable Apache Commons StringUtils, which provoked a couple of comments, one…
Read More » -
Google Guava BloomFilter
When the Guava project released version 11.0, one of the new additions was the BloomFilter class. A BloomFilter is a…
Read More » -
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…
Read More » -
What is a PermGen leak?
What follows is a practical introduction to a specific type of memory problems in Java applications. Namely – we will…
Read More » -
Using Cryptography in Java Applications
This post describes how to use the Java Cryptography Architecture (JCA) that allows you to use cryptographic services in your…
Read More »