CDI for portlets is here

Yay!

 
For those of you egg heads who have been wondering where the support for Context and Dependency Injection is, well this is your day.  Liferay now has support for your favorite annotations like: @Named and @Inject.
 
Cruise over to the demos page and checkout the new jsf2-cdi-portlet:
http://www.liferay.com/community/liferay-projects/liferay-faces/demos#jsf2-cdi-portlet
 
My buddy Neil Griffin also wrote a new wiki article for you How to develop Liferay portlets with CDI:
http://www.liferay.com/community/wiki/-/wiki/Main/Developing+JSF+Portlets+with+CDI
 
Enjoy.
 
ブログ