I finally finished to clean up dependencies, setup maven, and use the lastest interfaces (basically reimplented the partition).
I think there are a lot of things that can be improved i hope also by others, but this should be a solid proof of concept.
The partition actually does not cache entries in ApacheDS waiting for a cross partition cache at an higher level.
I hope Stefan can test it someday with his automated tests, probably there is the need to fix some use case.