Although I'm a fan of using annotations, I do have concern over the dependencies they create on third party jars.
For the purpose of this question, I'm referring specifically to Hibernate or JPA annotations on domain model classes.
In reality, I want my domain model to consist of simple POJOs without any dependencies on a persistence framework. If I deploy my domain classes in a single jar, I don't see why an application that uses that jar should have to import and any dependencies relating to the annotations used.
Is it possible that the annotations jars need only be a compile-time dependency?
Thanks,
Andrew