Java EE7 Standard with Hazelcast support possible? -
running java ee 7 web- , enterprise applications, utilize facade pattern abstract facade, extended lots of ejbs. using standard jpa provider eclipselink. thinking caching , clustering hazelcast, implement hazelcast queries in abstract facade. means few changes 1 class , have queries in in-memory hazelcast cluster available performance gains. possible? then, how rewrite, e.g. method?
@override public list<t> findall() { criteriaquery cq = getentitymanager().getcriteriabuilder().createquery(); cq.select(cq.from(entityclass)); homecoming getentitymanager().createquery(cq).getresultlist(); }
thanks help.
normally enable 2nd level cache hazelcast supports hibernate 2nd level cache provider. no back upwards available eclipselink right now.
hazelcast java-ee-7
No comments:
Post a Comment