Blog

The latest expert opinions, articles, and guides for the Java professional.

Three JPA 2.1 features that will boost your application’s performance

Developers often complain about the subpar performance of JPA. However if you take a closer look at the performance issues, quite often you will find similar root causes. These can include:

  • using too many SQL queries to fetch the required entities from the database, aka the so called n+1 query problem
  • updating entities one by one instead of doing it in using a single statement
  • doing data heavy processing on the Java side, rather than the database side

In this blogpost I’m going to explain how to use JPA 2.1 features to avoid the problems listed above.

Read more

Product vs Project Development: 5 factors that can completely alter your approach

How is the development of a project different to the development of a product? In both cases, we’re trying to develop a software application, right? So shouldn’t it be the same?

Now, I wouldn’t call myself an expert in product or project development, but even with limited experience it’s easy to understand that even the most basic requirements, like customer profile and pricing, should be necessarily different. In this post, I’d like to cover the differences between a project and a product and how we can adapt our mindsets to ensure our success.

Read more