The second part of Aleks Seovic’s article in Java Magazine has now been published!
In part 2, Aleks walks through building React and JavaFX front ends to integrate with the REST API that was developed in part 1.
The React client uses REST and the JavaFX client uses our new gRPC based Java client and gRPC proxy server built upon Helidon’s gPRC Server. The new gRPC support provides a modern connection capability for Coherence clients. At the moment there is only a Java based gRPC client but there are plans to provide gRPC support for a number of languages. (watch this space!).
Previously, the only way to access Coherence from a Node.js application was via REST, but now you have the capability to access Coherence caches via a native JS API with familiar Map interface along with the capabilities of querying, aggregations, in-place processing and events.
It’s as easy as adding the dependency to your package.json file:
If you didn’t get a chance to attend Coherence Architect Aleks Seovic’s talk on “Managing State in Elastic Microservices”, then the recording is now available on YouTube. This was the September 2020 Jakarta Tech Talks session.
In this talk, Aleks runs through the Helidon Sock-Shop Demo, which is the modern day microservices equivalent of the old “Pet Store Demo”. The demo showcases Coherence Community Edition (CE) and the Helidon Microservices framework and how to write modern and scalable microservices applications.
I particularly liked the part where he scaled his Coherence cluster to 1TB running on Kuberenetes!
On Tuesday September 1 at 11AM EDT, Coherence Architect Aleks Seovic will present a Jakarta Tech Talk on “Managing State in Elastic Microservices.” You can register for this event here. Jakarta Tech Talks are dedicated to the discussion of Jakarta EE and broader Cloud-Native Java technologies. The abstract for this particular event is given below:
Scaling stateless services is easy, but scaling their stateful data stores, not so much. This is true whether you are using an “old fashioned” relational database, or one of the popular, “modern” KV data stores, such as MongoDB or Redis.
In this presentation we will discuss some of the issues with state management in elastic microservices today, and look into how Oracle Coherence, with its Helidon and Eclipse MicroProfile integration, provides a better alternative you can use tomorrow.
This will be a technical presentation by an architect who has deep technical understanding of microservices and data grid technologies, and real-world experience building and deploying mission-critical applications. Aleks’ talk will include a demo showing how Java microservices can be easily scaled, including flexible scaling of the data store used by the microservices, using an example you can evaluate yourself following his talk. The example is built with Helidon 2.0 and Coherence Community Edition announced in June. Both Helidon and Coherence can be used to build and evolve microservices applications, either on-premises or in the cloud, so the content will be relevant and thought-provoking for Coherence users. Register today!
To coincide with Coherence Community Edition (CE) release, the Coherence Demo has been updated to work with Coherence CE and the Coherence Operator version 3.0.0.
This version uses Coherence CE 14.1.1-0-1 by default and showcases Open Tracing to trace client calls from a JAX-RS call, through to the individual cache nodes saving the primary and backup, aggregations and integration with a JPA data store.
The Coherence Demo showcases different features of Coherence including:
Copyright (c) 2017 Tim Middleton and other contributors. All Rights Reserved. The views expressed in this blog are our own and do not necessarily reflect the views of Oracle Corporation. All content is provided on an 'as is' basis, without warranties or conditions of any kind, either express or implied, including, without limitation, any warranties or conditions of title, non-infringement, merchantability, or fitness for a particular purpose. You are solely responsible for determining the appropriateness of using or redistributing and assume any risks.