On 14 Aug 2013, at 18:48, Dennis Reed <dereed(a)redhat.com> wrote:
> I've written such parser on Friday, basically just copying
and rewriting
> the SingleFileCacheStore stuff (adding my own properties instead). It
> took me about an hour and I don't hate anyone from infinispan team :)
> Maybe I am already advanced ISPN user, but I don't consider it as a
> complicated task as long as there is some template (simple cache-store
> implementation) I can use for reference.
If it took you an hour as an advanced user that's intimately familiar
with Infinispan to implement it and get it working,
that means for many of our customers it could take days, and quite a few
interactions with support.
Compare that to the current implementation where ISPN does the XML
parsing and calls setters, which takes 0 time no matter the competence
of the user.
I'm 100% *against* forcing customers to write their own XML parsing.
+1
The current parsing-free approach will be kept. Just that we'll add a template for
writing stores that would contain a sample optional parser.
Cheers,
--
Mircea Markus
Infinispan lead (
www.infinispan.org)