Skip to content

rdebusscher/payara-hazelcast-sql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

payara hazelcast-sql

Examples using Hazelcast SQL with Payara Micro.

Require Payara Micro 5.2021.3 or later as it needs Hazelcast 4.2.

cache

Read 'fixed' data from a database and perform SQL queries on the cached data.

Requires MySQL (or other database) to store the data.

see commands.txt for the commands to get the example up and running.

sessions

Read user name from logged in users (simulated by putting a name into the HTTP session)

see commands.txt for the commands to get the example up and running.

timings

Compare 4 different ways of reading and filtering data cached with Hazelcast.

. local: retrieve Map from Hazelcast and process it through Java Stream . slow: retrieve Map from Hazelcast and process it through for loop . predicate: use Predicate/Criteria API to filter distributed. . sql: use Hazelcast SQL to filter distributed.

Data are stored from a JSON into cache at application start up.

About

Examples using Hazelcast SQL with Payara Micro

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages