Archive / JavaEE

RSS feed for this section

Analyze application performance with CDI Interceptors

Using interceptors for analyzing performance issues Do you know statements in your code like this? Analyzing how long the execution of a method takes is a cross-cutting concern. Cross-cutting concerns like transactions, caching or measuring latencies are aspects of a program that cannot be cleanly decomposed from the rest of the system. So they result in either code duplication or significant dependencies […]

Reading and Writing JSON with JSON Processing API

As a big fan of Java EE 7, recently I had a look at the JSON Processing API. As you know JSON is a data exchange format widely used in web services and other connected applications. The new JSON Processing API (JSR 353), is a lightweight API to parse, transform, and query JSON data using a object model or […]