Showing posts with label apache-commons. Show all posts
Showing posts with label apache-commons. Show all posts

Sunday, March 11, 2012

apache commons equals/hashcode builder


I'm curious to know, what people here think about using org.apache.commons.lang.builder EqualsBuilder/HashCodeBuilder for implementing the equals/hashcode? Would it be a better practice than writing your own? Does it play well with Hibernate? What's your opinion?

Thursday, March 8, 2012

How to send java.util.logging to log4j?


I have an existing application which does all of its logging against log4j. We use a number of other libraries that either also use log4j, or log against Commons Logging, which ends up using log4j under the covers in our environment. One of our dependencies even logs against slf4j, which also works fine since it eventually delegates to log4j as well.