Java
-
Persistent breakpoints every java developer should have
When a developer is working in Java there are a few failure cases you always want to know about even…
Read More » -
Spring from the Trenches: Adding Validation to a REST API
I am a bit ashamed to admit this but until yesterday, I had no idea that I can add validation…
Read More » -
Experiment with ConcurrentHashmap
I am investigating a memory issue in one of my recent projects where data is kept in memory for fast…
Read More » -
Accessing An Artifact’s Maven And SCM Versions At Runtime
You can easily tell Maven to include the version of the artifact and its Git/SVN/… revision in the JAR manifest…
Read More » -
Parsing XML using DOM, SAX and StAX Parser in Java
I happen to read through a chapter on XML parsing and building APIs in Java. And I tried out the…
Read More » -
Spring Data Solr Tutorial: Adding Custom Methods to a Single Repository
The previous part of my Spring Data Solr tutorial taught us how we can create static queries by using query…
Read More » -
Spring Data Solr Tutorial: Query Methods
We have learned how we can configure Spring Data Solr. We have also learned how we can add new documents…
Read More » -
Power of Java MemoryMapped File
Power of Java MemoryMapped File In JDK 1.4 an interesting feature of Memory mapped file was added to Java, which…
Read More » -
Spring Data Solr Tutorial: CRUD (Almost)
In the previous part of my Spring Data Solr tutorial, we learned how we can configure Spring Data Solr. Now…
Read More »