Analyze application performance with CDI Interceptors

Using interceptors for analyzing performance issues Do you know statements in your code like this? [code] … long start = System.currentTimeMillis(); //some computing… long end = System.currentTimeMillis(); long duration = end – start; … [/code] 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 …

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 …

Consent Management Platform von Real Cookie Banner