This content has been marked as final.
Show 3 replies
-
1. Re: Problem with startup data
mars1412 Mar 27, 2008 12:39 PM (in response to cremersstijn)
These methods loads some data in Map that are stored in on the Application Context in the following way:I can't see that this is an application scoped bean...
your bean is stateless - this won't work
what you probably want is to use a statefull bean in application scope
@Stateful @Scope(ScopeType.APPLICATION) @Synchronized public class FieldhelptextService ...
-
2. Re: Problem with startup data
cremersstijn Mar 27, 2008 12:43 PM (in response to cremersstijn)but when i call the method loadBasicData() from my application (with a button and an action). It works well!
I don't want to set al my bean statefull and in the application scope, because that not good for my memory resources.
-
3. Re: Problem with startup data
pmuir Mar 29, 2008 7:32 PM (in response to cremersstijn)
Stijn Cremers wrote on Mar 27, 2008 12:43 PM:
but when i call the method loadBasicData() from my application (with a button and an action). It works well!
I don't want to set al my bean statefull and in the application scope, because that not good for my memory resources.Nonsense