Dependency on Spring's annotations
Posted
by Jacques René Mesrine
on Stack Overflow
See other posts from Stack Overflow
or by Jacques René Mesrine
Published on 2010-03-18T08:39:05Z
Indexed on
2010/03/18
8:41 UTC
Read the original article
Hit count: 436
I have annotated my classes with @Repository, @Resource, @Component, @Service annotations but these classes must run in 2 environments. The first environment is Spring 2.x based while the other has no spring at all. I'm sure the code will fail without the spring jars & I want to know ideas from you on how I can retain the annotations but still work in both environments
© Stack Overflow or respective owner