Skip to content

Micro Benchmarking with JMH: Measure, don’t guess!

jmhproject

I’m sure you’ve all heard that assigning a variable to null helps the Garbage Collector, or not declaring a method final improves in lining…. But what you also know is that JVMs have evolved drastically and what was true yesterday may not be true today. So, how do we know that our code performs? Well, we don’t, because we are not supposed to guess […]

Read More →

Generating Database Schemas with JPA 2.1

database

Prior JPA 2.1, most JPA providers (Hibernate, EclipseLink, OpenJPA) would have a proprietary way to generate the database schema (Data Definition Language scripts) from Entities. In the JPA 2.1 specification (JSR 338) there is a new section called 9.4 Schema Generation introducing an API and some properties to generate a database schema in a standard and portable way. Properties in persistence.xml In the […]

Read More →

There Is No “Cluster” in Java EE

cluster

Very often, when talking/training/sharing about Java EE, I get the same question: What about clustering in Java EE? The answer is: nothing, rien, nada, ezer, nista, niets! There is nothing about clustering (failover, load-balancing…) in JavaEE. And to prove it, I’ve looked for the word “cluster” in the 4.171 pages of the 19 more important Java EE 7 specifications. The word “cluster” only […]

Read More →

The Uncensored Java EE 7 Book

bookee7censored

Let’s start with a definition of Censorship: Censorship is the suppression of speech or other public communication which may be considered objectionable, harmful, sensitive, or inconvenient as determined by a government, media outlet, or other controlling body. As you might be aware if you follow this blog, I wrote a third book entitled Java EE 7. A technical book about Java EE […]

Read More →

Follow

Get every new post delivered to your Inbox.

Join 10,664 other followers