Wednesday, October 03, 2012

Annotations and Maven

Thinking a lot about annotations and maven.... I love and hate Java annotations. I love them because you can put metadata and behavior hints on classes, fields, methods, and parameters.

I hate them because it ties you to framework which might have 20 mb of dependencies that you may decide not to use one day.

Compile time dependencies are great if you are the standard not so great if you are depending on some random project on github or googlecode which depends on different versions of jars you need.

- Posted using BlogPress from my iPhone

Location:Hobert St,Castro Valley,United States