I have a project where the client (a Java stateful bean) will make a REST call to another bean (let's call it RequestBean) to perform a function and r ...
I have a project where the client (a Java stateful bean) will make a REST call to another bean (let's call it RequestBean) to perform a function and r ...
I did the following In my LoginServlet and the following User currentUser = (User) getJspContext().getAttribute("authUser", PageContext.APPLICAT ...
I want to call an ArrayList stored in applicationScope from another class I have a class, something like this that stores a bounch of data in a publi ...
i have to count accesses of a page, but when the count is odd i should not print the count and i have to do this from a custom tag. I can't call my fi ...
From this post I learned that my page which contains a StreamedContend has to be related to an ApplicationScoped bean, but its has the consequence tha ...
I saw 'application' scope in the following blog. Is it true? http://www.concretepage.com/spring/spring-bean-scope-example-using-scope-annotation-and- ...
I'm relativly new to EE / CDI for DI so maybe one of you could provide me with some tips for my problem: I've got a 3rd party class which I would lik ...
Do you think it is a good idea to put all widely used utility methods in an application scoped bean? In the current implementation of the application ...
I am writing a simple JSF application for converting currencies. There is a Rates class which holds the data, Currencies class for managing requests ...
I have two managed beans which both have an @ApplicationScope annotation: Storage.java: StorageInitializer.java: When the application starts, S ...
I want store a variable shared between sessions (application-scope): It is not user session-specific (so I can't put it in $_SESSION[]). It is a ...
I'm using Mojarra 2.2.12 and in our project we've got a few @ApplicationScoped beans. For instance: My question is should we worry about visibility ...