[JBoss Seam] - Relilability of the context cache
by javidjamae
I've been reading through the SEAM documentation to try and gain a better understanding of what level of reliability SEAM provides. What I've gathered is that SEAM doesn't provide any reliability features itself, but rather depends on the container to provide replication of the different components. (This may be an incorrect statement, but I haven't found anything in the documentation that states otherwise).
So my question is: yes, it is important to have replication of components for reliability, but what about replication of the context cache? SEAM keeps a cache of all the different users' contexts. If a JBoss instance goes down, do all of those user contexts that were in memory on that instance get lost? Do all of my users have to login, create new shopping carts, start new business process flows, etc.?
Maybe I'm missing something?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958346#3958346
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958346
19 years, 9 months
[JBossCache] - Lazy / dynamic POJO properties supported in cache?
by rdewell
I have a scenario where we have a [conceptually] infinitely large "tree" of object associations. This tree of object associations is dynamically instantiated on request of each node. What I'm ultimately trying to figure out is if JBoss Cache can help out here.
While these nodes will have SOME fields, the larger structure of them will need to be lazily / dynamically accessed through the getter methods.
Ideally I was hoping to get JBoss Cache in the middle of this so that I would have support for transparent LRU algorithms on branches, etc, on calls to these getters.
So:
| public class SomeNode{
| private String someProperty; // I'm cached.
|
| public String getSomeProperty(){ return someProperty; }
|
| // Can I be a cached?
| public List<OtherNode> getDynamicNodes(){
| // retrieve and return other nodes.
| // do not store them in a private field.
| // handed over to jboss cache?
| // *** jboss cache only actually RE-executes this getter
| /// when it no longer has it available in the cache???
| }
| }
|
Is this possible? I can use JDK 1.5 / etc, whatever is needed.
Thanks,
Ryan
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958343#3958343
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958343
19 years, 9 months