Enterprise Java
-
JPA: Determining the Owning Side of a Relationship
When using the Java Persistence API (JPA) it is often necessary to create relationships between two entities. These relationships are…
Read More » -
How to Install Gradle
Gradle is a dependency management / build tool that combines the best of Maven and Ant, making it an extremely…
Read More » -
Java API for JSON Processing (JSR-353) – Stream APIs
Java will soon have a standard set of APIs for processing JSON as part of Java EE 7. This standard…
Read More » -
JUnit: Naming Individual Test Cases in a Parameterized Test
A couple of years ago I wrote about JUnit Parameterized Tests. One of the things I didn’t like about them…
Read More » -
Score DRL: faster and easier in OptaPlanner
For OptaPlanner (= Drools Planner) 6.0.0.Beta1, I ‘ve replaced the ConstraintOccurrence with the much more elegant ConstraintMatch system. The result…
Read More » -
Java EE CDI bean scopes
Contexts and Dependency Injection (CDI) for the Java EE platform is a feature that helps to bind together the web…
Read More » -
Spring MVC Session Tutorial
Session management is one of essential parts for each web application. Since Spring MVC is a powerfull framework for a…
Read More » -
JPA – Hibernate – Type mapping on package level
When we are finally mature enough to use some custom types mapping in JPA, we usually stuck with some provider…
Read More » -
ActiveMQ Message Priorities: How it works
There’s usually a steady drip of questions on the mailing list surrounding ActiveMQ’s message-priority support as well as good questions…
Read More »