ReactJS Component Documentation

ReactJS Component Documentation

The patrons recommend the use of presentation, dumb and stateless components. The number of such components which have nothing to do with the business logic or the state of the application can be overwhelmingly high. One often starts with a  basic flat folder structuring for the components and very soon finds himself revisiting the structuring …

+ Read More

The Art of Debug Logging

The Art of Debug Logging

Almost everybody is well equipped with logging essentials. But, only a few understand the purpose and power of the debug logs. Lets just refresh our basics as far as debug logging is concerned. To me personally, a best practices reminder time to time, inspires me to write quality code. WHEN EXACTLY DO WE NEED IT? …

+ Read More

SonarQube: Using PostJob in Plugins

SonarQube: Using PostJob in Plugins

The last post was all about creating a new plugin for sonar. Now, lets get off the beaten path and create a post job in a plugin instead of a decorator or sensor. But, first it is important to understand the difference. Please read the previous articles on sonar if your haven’t gone through them …

+ Read More

Coding Custom SonarQube Plugin

Coding Custom SonarQube Plugin

This will be a continuation of the sonar series in code quality section. This article is for users who have been using sonar and wish to extend and explore the possibilities of customization. Go through the previous posts if you already haven’t: Setting up sonar Sonar analysis using eclipse plugin If you already use sonar, …

+ Read More

Sonar Analysis From Eclipse

Sonar Analysis From Eclipse

Sonar is a great tool for ensuring quality and maintainable code. Sonar is like a code reviewer every developer should have. One shouldn’t wait for a formal code review and peer code review to find fault with one’s own code. So, the best way of writing quality code is to run a sonar analysis after …

+ Read More

Tomcat Log4j Dynamic Logging

Tomcat Log4j Dynamic Logging

Tomcat Log4j Dynamic Logging Using log4j with DailyRollingFileAppender in Tomcat? Well, if you run Tomcat as a windows service, you might have noticed that your logs do not rotate daily.  The logs rotate only when the server is restarted. Although it works perfectly for a server on linux machine. But, tomcat when run as a …

+ Read More

Admiring and Understanding LinkedBlockingQueue take Method

Admiring and Understanding LinkedBlockingQueue take Method

In order to admire the code of the implementation of the BlockingQueue, lets have a look at the LinkedBlockingQueue take method. Lets go through the code line by line, understanding the role of each line of code. Line 4: final AtomicInteger count = this. count; In case you already know, AtomicInteger is used for atomic modifications to integers. …

+ Read More

Maven, Jenkins, Parameterized Builds – Basic Facts

Maven, Jenkins, Parameterized Builds – Basic Facts

Using maven and still struggling with the build process? Or wish it was better? What to expect out of the article? Building all the modules of a project at once Parameterized builds with jenkins Making your life easy Stating some facts about maven which you might already know. Maven is a very smart build tool …

+ Read More