1 additional note... As a follow up to what *Christian* has provided here (which is highly appreciated), I am also adding formal support for using Geode as a Last Resource in a CMT/JTA transaction initiated by a *Spring* managed/demarcated transaction in...
DATAGEODE-16 - "*Add support for Geode JCA ResourceAdapter* <https://jira.spring.io/browse/DATAGEODE-16>" [1] The work being done in DATAGEODE-16 is based on POC work we did for a Pivotal customer and will benefit the entire community. Cheers, John [1] https://jira.spring.io/browse/DATAGEODE-16 On Tue, Jul 4, 2017 at 1:53 PM, John Blum <jb...@pivotal.io> wrote: > Well done Christian! Thank you for the hard work and contributions. > > Cheers, > -j > > On Mon, Jul 3, 2017 at 12:43 PM, Swapnil Bawaskar <sbawas...@pivotal.io> > wrote: > >> Great work Christian! >> Can you add a page about this on the wiki >> <https://cwiki.apache.org/confluence/display/GEODE/Index> as well, so >> that >> your work is not lost. >> >> On Mon, Jul 3, 2017 at 10:58 AM Dan Smith <dsm...@pivotal.io> wrote: >> >> > Awesome! >> > >> > -Dan >> > >> > On Mon, Jul 3, 2017 at 6:08 AM, Christian Tzolov <ctzo...@pivotal.io> >> > wrote: >> > >> > > Recent experience of setting up Geode as a last-resource inside >> WebSphere >> > > JTA, has motivated me to find a simpler way to integrate with JTA. >> > > >> > > The https://github.com/tzolov/narayana-jta-geode-support provides >> > > utilities >> > > to integrate Geode with Narayana JTA. This enables global transactions >> > > using the embeddable, standalone, open-source Narayana JTA and >> implements >> > > the Last-Resource Commit Optimization (LRCO) to preserve the ACID >> > > properties. (e.g. Geode is registered as last-resource in the global >> > > transactions). >> > > >> > > With narayana-geode-core you can use it with the plain Geode API: >> > > http://bit.ly/2tByAr5 >> > > or use narayana-geode-springboot for seamless integration with Spring >> > Boot >> > > and SpringDataGemfire. See the http://bit.ly/2siBEof example >> > > >> > > All dependencies are resolved from maven central. >> > > >> > > So if you build a SpringBoot app you only need to add the maven >> > > dependencies and set a single annotation @EnableGeodeNarayanaJta. No >> need >> > > for obsolete, commercial Application Servers no accidental >> complexity. >> > > >> > > I’ve tried to explain the problem and the solution in my blog here: >> > > http://blog.tzolov.net/2017/07/apache-geode-gemfire- >> > > narayana-jta.html?view=sidebar >> > > >> > > Because Narayana uses LGPL it is not compatible for distribution with >> > ASF, >> > > but it can be referred as optional component. >> > > >> > > Cheers, >> > > Christian >> > > >> > > P.S. the implementation uses code and ideas from the Geode engineering >> > team >> > > and from John Blum ;) >> > > -- >> > > Christian Tzolov <http://www.linkedin.com/in/tzolov> | Data Engineer, >> > EMEA >> > > | Pivotal <http://pivotal.io/> | ctzo...@pivotal.io |+31610285517 >> > <+31%206%2010285517> >> > > >> > >> > > > > -- > -John > john.blum10101 (skype) > -- -John john.blum10101 (skype)