-
Core Java
Throttling Task Submission with a BlockingExecutor
The JDK’s java.util.concurrent.ThreadPoolExecutor allows you to submit tasks to a thread pool and uses a BlockingQueue to hold submitted tasks.…
Read More » -
Software Development
The future may just as well be RESTful
Chris Zheng has just published an article on “Why the future is NOT RESTful”. It made a bit of a…
Read More » -
Enterprise Java
Hibernate Facts: Knowing flush operations order matters
Hibernate shifts the developer mindset from thinking SQL into thinking object state transitions. According to Hibernate Docs entity may be…
Read More » -
Software Development
The Code That Made me Cry
A friend of mine recently told me about the kind of problems he’s currently struggling with in the legacy application…
Read More » -
Software Development
MongoDB optimistic locking
When moving from JPA to MongoDb you start to realize how many JPA features you’ve previously taken for granted. JPA…
Read More » -
Core Java
Would you dare to change HashMap implementation?
There are bold engineers working for the Oracle nowadays. I came to this conclusion when trying to nail down a…
Read More » -
Enterprise Java
Type Conversion in Spring
Here are few straight cases where we need type conversion: Case #1. To help simplifying bean configurations, Spring supports conversion…
Read More » -
Core Java
Top 10 Lists of Common Java Mistakes (That Makes Top 100!)
Top 10 lists are very popular, fun, and informative to read. But there are so many of them! How to…
Read More » -
Core Java
Too Many Parameters in Java Methods, Part 7: Mutable State
In this seventh post of my series on addressing the issue of too many parameters in a Java method or…
Read More »