Archive for December, 2012

Distributed Caching Notes

December 27, 2012 Leave a comment

Cache Fundamentals, Dangers, and TuningĀ  – http://
The New JSR 107 Caching Standard Presentation – The essence of Caching – Caching and Data Grids Patterns and Tips Presentation – – What’s new in ehCache (Part 1/2) Presentation – – What’s new in ehCache (Part 2/2) Presentation –
InMemory Data Grids –
Java caching with Guava –

Real world deep dive into infnispan –

Categories: Uncategorized

My maven notes

December 25, 2012 Leave a comment

Maven and Junit notes

Often used maven command
mvn clean package -Dmaven.test.skip=true
mvn clean package -Dmaven.test.skip=true -Dmaven.test.failure.ignore=true -Dmaven.test.haltafterfailure=no
mvn dependency:tree -Dverbose -Dincludes=commons-collections
mvn assembly:single
mvn -Dmaven.surefire.debug test –default remote debug port 5005
mvn -Dmaven.surefire.debug=”-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000 -Xnoagent -Djava.compiler=NONE” test

mvnDebug is handy.

set MAVEN_DEBUG_OPTS=-Xdebug -Xnoagent -Djava.compiler=NONE-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000
mvnDebug test

Java Debug
-Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=4000,suspend=n

JUnit parallel

Cocurrent JUnit test runner for Parameters

Learn maven using debugging –

MAVEN_OPTS=”-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000″;

Categories: Uncategorized