I have a small yet complete JEE 6 application at hand.
The traditional annotations are being used: @Resource
, @EJB
, @Singleton
, @PostConstruct
, @PreDestroy
, @PersistenceContext
, @ManagedBean
, @ManagedProperty
, @RequestScope
, @ApplicationScope
,...
I would like to evaluate whether it makes sense to introduce CDI, and to standardize on a common strategy for dependency injection, bean lifecycle management, etc.
Question: Does anybody know about good articles, examples or manuals that transform traditional JEE6 annotations into CDI ones?