It may sound a bit extreme but what about using streams as the base interface and converting values to streams asap ?
I have put together a brief design for ISPN-78. Please take a look, it is on the wiki:
https://community.jboss.org/wiki/LargeObjectSupport
I have also deferred ISPN-78 to 5.0.0 rather than 4.1.0 as I'd rather not hold up 4.1.0 for new features at this stage.
Please have a look at the designs and let me know what you think - or comment on the wiki page.
Cheers
Manik
--
Manik Surtani
manik@jboss.org
Lead, Infinispan
Lead, JBoss Cache
http://www.infinispan.org
http://www.jbosscache.org
_______________________________________________
infinispan-dev mailing list
infinispan-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev