anonymous wrote : Use the Cache.putForExternalRead() method when you are caching something that was just read from an external authoritative source (aka an RDBMS). If the cache is configured for invalidation, that method will not generate an invalidation msg. Then use put() if you are creating something new or have updated something. That *will* generate an invalidation msg, as it should.
| The above is a quick description of how the latest Hibernate 2nd Level Cache impl uses JBC; the putForExternalRead() method was added and tweaked and massaged exactly for your use case. ;)
This is a quote from some old thread.
But the problem of synchronization between instances in cluster is not solved by this.
If server A was just starting and loads object in cache, then server B will remain with obsolete version of that object.
1. Is it posible replicate on PUT and invalidate on remove/change?
For me it seems like solution.
2. what elese may be done?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154862#4154862
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154862
Hey all, I'm currently evaluating JBoss Portal, and was curious about the supported USER_INFO attributes. Specifically, does any documentation exist that defines which of the schema elements of the P3P v1.1 spec can be mapped via user-attributes and retrieved from the PortletRequest? I'm able to retrieve some attributes, such as user.name.family and user.name.given, but unable to retrieve user.login.id and user.login.password. Hopefully I'm not missing anything obvious in the documentation, but it doesn't seem to cover this. All it discusses are specific JBoss API hooks that I'd like to avoid, if we decide to use this we can only introduce neutral spec-specific code into production. Any help is appreciated, thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154857#4154857
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154857