Jason,
Would like to explore with you the possibility of eliminating the need for region-based
marshalling with PojoCache.
We use region-based marshalling to handle replication of custom types. But, since
PojoCache breaks down pojos into primitives, most of the need for replicating custom types
is eliminated. AIUI, the remaining areas where custom types are replicated are:
1) The Class of the pojo, so the remote node knows what type to construct.
2) Any @Serializable field.
Could those cases be handled by storing some MarshalledValue variant in the cache (or
perhaps just a String for the pojo Class)? Assume here a much more suitable
MarshalledValue; i.e. it holds onto the wrapped object for local use; doesn't
serialize until needed rather than at construction, etc. I plan to write one of those
anyway.
I'm asking because besides FIELD repl all the other AS web session and SFSB usages of
JBC handle things such that they don't need region-based marshalling. I'd like to
have the ability to handle all these usages in one cache. If I could eliminate
region-based marshalling as a config factor, that would simplify things.
Thoughts?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089966#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...