Details
-
New Feature
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.0.0
-
None
-
None
Description
JSR 250 is very important annotation to reference resoure and life cycle control, such as @Resource, @PostContruct, @PreDestroy. These annotations are very useful for view preparer. View preparer can use @Resource to reference other resource from JNDI or Spring context easily by ejection. At the same time view preparer can use @PostContruct and @PreDestroy to control preparer instance life cycle before it is a singleton. Preparer is very import for Tiles 2.0, and resource ejection is very important to make preparer more compact.
This are my opinion, just for your reference, thanks.