-
1. Re: PojoCache vs serialized bean in TreeCache
genman Mar 13, 2007 5:56 PM (in response to bob_ninja)I would try the PojoCache and then decide. Personally, I side on writing easier to maintain code, at the expense of efficiency. The APIs do change, but likely the places you need to access the API are few.
-
2. Re: PojoCache vs serialized bean in TreeCache
bob_ninja Mar 14, 2007 9:01 AM (in response to bob_ninja)Agreed. I would prefer simpler PojoCache.
However, I am running into problems. Also, the new version 2.0 seems to contain a lot of changes, so I wonder how stable/finished PojoCache is, or if it has a lot more API adjustments and bug fixing to go. -
3. Re: PojoCache vs serialized bean in TreeCache
manik Mar 15, 2007 9:23 AM (in response to bob_ninja)What problem sare you running into?
2.0 is a big API change from the 1.x series, not just for PojoCache but for TreeCache as well. In terms of API, this should not change again so writing against the 2.0 API is what I'd recommend.
Regarding the PojoCache vs TreeCache debate, I'd go with the "simpler code" option as well, and use PojoCache.
That said, I don't see why you need to serialize your beans to use TreeCache? You could just put the objects directly in TreeCache, the only difference is that the entire object will be replicated rather than the object being broken down into primitives. -
4. Re: PojoCache vs serialized bean in TreeCache
bob_ninja Mar 15, 2007 10:52 AM (in response to bob_ninja)"manik.surtani@jboss.com" wrote:
What problem sare you running into?
Here is the post:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=103869
Should I enter it into JIRA?"manik.surtani@jboss.com" wrote:
2.0 is a big API change from the 1.x series, not just for PojoCache but for TreeCache as well. In terms of API, this should not change again so writing against the 2.0 API is what I'd recommend.
So I should skip 1.4.x and start with the latest 2.x beta? Ok, I'll try that."manik.surtani@jboss.com" wrote:
Regarding the PojoCache vs TreeCache debate, I'd go with the "simpler code" option as well, and use PojoCache.
That said, I don't see why you need to serialize your beans to use TreeCache? You could just put the objects directly in TreeCache, the only difference is that the entire object will be replicated rather than the object being broken down into primitives.
Ah, so TreeCache automatically handles serialization. Good stuff.
Ok, so I'll try again PojoCache using the latest 2.x
thanks