Do you want to know how to develop your skillset to become a Java Rockstar?

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!

1. JPA Mini Book

2. JVM Troubleshooting Guide

3. JUnit Tutorial for Unit Testing

4. Java Annotations Tutorial

5. Java Interview Questions

and many more ....

 

Log4j 2: Performance close to insane

apache-log4j-logo

Recently a respected member of the Apache community tried Log4j 2 and wrote on Twitter: @TheASF #log4j2 rocks big times! Performance is close to insane ^^ http://t.co/04K6F4Xkaa — Mark Struberg (@struberg) May 7, 2013 (Quote from Mark Struberg: @TheASF #log4j2 rocks big times! Performance is close to insane ^^ http://logging.apache.org/log4j/2.x/ ) It happened shortly after Remko Popma contributed something which ...

Read More »

ArrayList Using Memory Mapped File

java-logo

Introduction In-Memory computing is picking up due to affordable hardware, most of the data is kept in RAM to meet latency and throughput goal, but keeping data in RAM create Garbage Collector overhead especially if you don’t pre allocate. So effectively we need garbage less/free approach to avoid GC hiccups Garbage free/less data structure There are couple of option to achieve ...

Read More »

Passivation and Activation of View Objects with Transient Attributes

java-interview-questions-answers

Within passivation/activation cycle of application modules the framework passivates and activates view objects as well. Usually the framework saves information about VO’s state, current row, bind variables values and such. But not the data. The VO’s query is going to be re-executed and the data is going to be re-fetched after activation of the view object. In most cases the ...

Read More »

Monitor full page, non AJAX, requests to be notified

primefaces-logo

Recently, working on new charts and chart “exporting service” in JSF, I’ve faced a quite common problem. When you execute a long-running task (action), you would like to show a status “Please wait …” dialog on start and close this dialog at the end, when the response arrives. This is not a problem for AJAX requests, but it is problematic ...

Read More »

Android UML: Design an App – Part 1

android-logo

One aspect that was in my opinion not covered in many blogs around, included mine too, it is the process we follow to create our Android app. This aspect is not irrelevant because an app is a piece of software and we should follow the rules and methods used to develop other kind of software component. I know we need ...

Read More »

5 Coding Hacks to Reduce GC Overhead

java-logo

In this post we’ll look at five ways in which we can use efficient coding to help our garbage collector spend less CPU time allocating and freeing memory, and reduce GC overhead. Long GCs can often lead to our code being stopped while memory is reclaimed (AKA “stop the world”). Some background The GC is built to handle large amounts ...

Read More »

Commitment considered harmful

agile-logo

Some Agile evangelists are very keen on the idea of “Commitment.” i.e. the development team “commit” to doing an amount of work within a time-box (normally an iteration.) The team do this work come hell or high-water. They do what it takes. Once they’ve said they’ll do it they do it. I believe the idea of Commitment was baked into ...

Read More »

C++ like Java for low latency

java-logo

Overview Previously I wrote an article on C like Java.  This is term I had come across before. However, on reflection I thought C++ like Java is a better term as you still use OOP practices, (which not C-like) but you put more work into managing and recycling memory yourself. The term I favour now is “low level” Java programming. ...

Read More »

Managing congested actors in Akka

akka-logo

There comes a time in an Akka application when an actor can longer handle increasing load. Since each actor can only handle one message at a time and it keeps a backlog of pending messages in a queue called mailbox, there is a risk of overloading one actor if too many messages are sent to one actor at the same ...

Read More »
Do you want to know how to develop your skillset and become a ...

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!
Get ready to Rock!
To download the books, please verify your email address by following the instructions found on the email we just sent you.

THANK YOU!

Close