New Features in Java 7
Java 7 officially released in 2011. Here is my presentation on new features introduced in Java 7. Get it here.
Java 7 officially released in 2011. Here is my presentation on new features introduced in Java 7. Get it here.
I have started reading “Java Concurrency In Practice” which is the fourth one I am reading from this list of “Top 5 Java Books”. Really enjoyed the first three – Head First Java, Head First Design Patterns and Effective Java. Putting down the summery of the first chapter from the book. Pros: Makes use… Read More Pros and Cons of Multi-threading
Refactoring is one of my all time favorite topic. Here is a PPT I have prepared on Refactoring. It also contains few slides on Static analysis using PMD.The PPT starts with the famous quote. “Any fool can write code that a computer can understand. The trick is to write code that humans can… Read More Refactoring & Static analysis using PMD
I have developed a Redmine scanner tool which can scan Redmine for all projects,users and time entries and prepare a report for time entries in a project. This program can run as a cron-job or a scheduled job in Jenkins so that it can every day send e-mails to entire team in a project with… Read More Redmine Scanner
TDD (Test Driven Development) is a very interesting topic. I have been following it since my earlier days of Java programming and was one of main ambassador for TDD and Junit in our project. I have prepared my first presentation on TDD years back and have been asked many times to give the presentation to… Read More TDD using Junit
Have you ever thought of havinh thread level local variable? Interestingly there is a way to use that. since Java 1.2 and today only I came to know that 😦 ThreadLocal is the class you can use for that. One main advantage I found (in fact my requirement) is that thread itself can carry information… Read More Thread Local Variables
From Java 5 onwards an improvement is made in Java by selecting the Garbage Collector (GC) based on the class of the machine on which the application is run. Serial Collector The serial collector uses a single thread to perform all garbage collection work, which makes it relatively efficient since there is no communication overhead… Read More Selecting a Garbage Collector in Java
Listing out some of the useful Java debugging tools jinfo prints the system properties or the command line flags that were used to start the VM. /opt/sun/jdk/java/bin/jinfo jinfo jinfo Link: http://java.sun.com/j2se/1.5.0/docs/tooldocs/share/jinfo.html jmap prints memory related statistics for a running VM or core file /opt/sun/jdk/java/bin/jmap jmap -heap… Read More Java Debugging Tools
JProbe is a licensed software from Quest. Its a really powerful tool to do Run-time performance analysis of Java applications. We had a special requirement on a use case to be completed within 25 seconds in every execution. However for about 10-20% of times it was exceeding 25s requirement. We have decided to do some… Read More Performance Analysis using JProbe