What's New Here?

enterprise-java-logo

Error handling in Storm Trident topologies

This post summarizes my current approach to error handling when designing Storm Trident topologies. I focus here on code design, not on deployment good practices like supervision nor redundancy. Because of the real-time stream nat ...
apache-log4j-logo

Customizing Log4j 2.0

We are getting closer and closer to a Log4j 2 GA release and for that reason we should start looking into what it will give us. Personally I have a lot of reasons to be excited about Log4j 2.0. The community is great, the Apache L ...
mockito-logo

Mock final class

Foreword If you already read some other blog post about unusual mocking, you can skip prelude via this link. I was asked to put together examples how to mock Java constructs well know for their testability issues:     &n ...
software-development-2-logo

Code review best practices

Code review is a great software instrument and you should definitely use it to improve the quality of your code. But like any other tool, it may be misused sometimes. That’s why I came up with a list of best practices to guide y ...
bitrix24-logo

Free Team Management Tool For JCG Readers (Giveaway)

Being a Java Code Geeks reader comes with its perks and one of them is getting a free Bitrix24 account with 10 GB worth of online storage. In case you are not familiar, Bitrix24 is a collaboration platform created specifically for ...
software-development-2-logo

5 Best Email Clients for Open Source Environment

An email client, also known as Mail User Agent (MUA) is an application used to manage the emails. Linux has a lot of email clients, terminal and GUI based. I have collected the top 5 GUI based email clients and compared them in va ...
spring-logo

Spring for Apache Hadoop 2.0 M5

Spring has happily announced the Spring for Apache Hadoop 2.0 M5 milestone releases, while they are also getting much closer to a release candidate. In the Spring blog there is a good comparison between the new version 2.0 and the ...
java-logo

Java: Handling a RuntimeException in a Runnable

At the end of last year I was playing around with running scheduled tasks to monitor a Neo4j cluster and one of the problems I ran into was that the monitoring would sometimes exit. I eventually realised that this was because a Ru ...
spring-logo

Retry web service operations with RequestHandlerRetryAdvice

1.Introduction Sometimes when invoking a web service, we may be interested in retrying the operation in case an error occurs. When using Spring Integration, we can achieve this functionality with RequestHandlerRetryAdvice class. T ...
software-development-2-logo

The Anatomy of a Great Stack Overflow Question (After Analyzing 10,000)

How to phrase a question in Stack Overflow in order to get better answers Stack Overflow offers a great interface for accessing all of its data and running any possible query in the questions/answers database. We started using th ...
Java Code Geeks and all content copyright © 2010-2014, Exelixis Media Ltd | Terms of Use
All trademarks and registered trademarks appearing on Java Code Geeks are the property of their respective owners.
Java is a trademark or registered trademark of Oracle Corporation in the United States and other countries.
Java Code Geeks is not connected to Oracle Corporation and is not sponsored by Oracle Corporation.

Sign up for our Newsletter

15,153 insiders are already enjoying weekly updates and complimentary whitepapers! Join them now to gain exclusive access to the latest news in the Java world, as well as insights about Android, Scala, Groovy and other related technologies.

As an extra bonus, by joining you will get our brand new e-books, published by Java Code Geeks and their JCG partners for your reading pleasure! Enter your info and stay on top of things,

  • Fresh trends
  • Cases and examples
  • Research and insights
  • Two complimentary e-books
Get tutored by the Geeks! JCG Academy is a fact... Join Now
Hello. Add your message here.