File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Access database in phase listener using persistence unit
Joined: Jun 02, 2009
Sep 09, 2009 00:48:49
i wanted to know that can i inject persistenceunit in phase listener of jsf.
i am able to inject it in managed bean using annotation as managed bean supports annotation
is it phase listeners does not support annotation
i want to access database in phase listener before restore view phase
can any own give me some idea.
subject: Access database in phase listener using persistence unit
@EJB annotation Injection
managed bean injection problem
Inject persistence unit/context in phase listner
Injection problem - not quite sure if this is something i should be using injection for
Phase Listener for a Specific Managed Bean
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013