I'd not do that... generally fetching beans by using the EL API is not that good. Use a real DI container for that
-M On Mon, Apr 27, 2009 at 11:22 AM, Georg Füchsle <[email protected]> wrote: > Hallo, > > I found such things in my code: > > In an static method of an application scoped bean I fetch a session > scoped bean and read some data from it. > It seems to work. But is it really allowed? > > Georg > -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf

