I just noticed something when playing with a simple infinispan app.
If I have a form/action that are used to display data (from the cache) to the user, I expect the call flow to be something like:
Instead, the flow seems to be
Now this causes a problem because my action will populate some data, and the producer returns that data. The bean is session scoped and the producer is request scoped.
Is this in fact accurate behavior?
It largely depends on what producers you have, and what beans use them, and where they are invoked in the lifecycle.