The main theme for this blog post will be measuring and monitoring JEE application performance. We will however build a whole solution from scratch. Starting with a simple example, we will go through couple of implementation decisions, trying to guess how they could impact performance. To be able to repeatedly collect measurements, we will set up a test plan in JMeter, and make first observations in VisualVM. Seeing how unrealistic these examinations are, we will build a monitoring solution using …
Tag: jee
Starting with JEE 6 and EJB 3.1 specification, Oracle introduced an @Asynchronous annotation. JEE 7 has not brought any changes in this matter, and in both these versions, an @Asynchronousmethod might return a Future object. In this blog post we will have a look at how misleading its cancellation is, and what the possible solutions to address the problems that arise are. Introduction As an example, we will be generating UUIDs. Let’s say, we would like to have a background thread that is …
Social Profiles