ACCS Application Cache Java API Project

A Java Client API to access Application Container Cloud Service (ACCS) : Application Cache.

License

License

Categories

Categories

Caching Data
GroupId

GroupId

com.oracle.cloud.caching
ArtifactId

ArtifactId

project
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

pom
Description

Description

ACCS Application Cache Java API Project
A Java Client API to access Application Container Cloud Service (ACCS) : Application Cache.
Project URL

Project URL

https://github.com/oracle/accs-caching/
Source Code Management

Source Code Management

https://github.com/oracle/accs-caching.git

Download project

Filename Size
project-1.0.0.pom 10 KB
Browse

How to add to project

<!-- https://jarcasting.com/artifacts/com.oracle.cloud.caching/project/ -->
<dependency>
    <groupId>com.oracle.cloud.caching</groupId>
    <artifactId>project</artifactId>
    <version>1.0.0</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/com.oracle.cloud.caching/project/
implementation 'com.oracle.cloud.caching:project:1.0.0'
// https://jarcasting.com/artifacts/com.oracle.cloud.caching/project/
implementation ("com.oracle.cloud.caching:project:1.0.0")
'com.oracle.cloud.caching:project:pom:1.0.0'
<dependency org="com.oracle.cloud.caching" name="project" rev="1.0.0">
  <artifact name="project" type="pom" />
</dependency>
@Grapes(
@Grab(group='com.oracle.cloud.caching', module='project', version='1.0.0')
)
libraryDependencies += "com.oracle.cloud.caching" % "project" % "1.0.0"
[com.oracle.cloud.caching/project "1.0.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • cache-client-api
  • cache-client-protocol
  • cache-client-tests

Java Client Caching SDK for Oracle Application Container Cloud Service

Build Status

This project contains the source code for the Java client library
to allow apps access caches in the Application Container Cloud Service (ACCS) of Oracle's Cloud Platform.

To create an Application Cache, see the documentation

Prerequisites

Install these before building the Java client library:

  1. Java SE Development Kit (JDK)

  2. Maven 3.2.5 or above installed and configured

Build Instructions

Build the Java client by running these commands:

  • Clone the repository
git clone https://github.com/oracle/accs-caching-java-sdk.git
  • Change to the directory
cd accs-caching-java-sdk
  • Build the client
mvn clean install

If you do not wish to run the local functional tests, run this command:

mvn clean install -DskipTests

If you wish to create a 'shaded' jar, run this command:

mvn clean install -DskipTests -P shade

Running the examples

The directory cache-client-examples contains two sub-projects that show how to use the client API.

Deployable ACCS example

The sub-directory cache-client-examples/appcache-example contains an example using the client API which can be deployed to ACCS.

LocalSessionProvider Example

The sub-directory cache-client-examples/local-session-provider-example contains an example showing how to use the the client API (including full API functionality) against a LocalSessionProvider without having to deploy to ACCS.

Referencing the API from Maven Projects

To add a dependency on the cache-client-api in your Maven projects, include this dependency.

   ```
    <dependency>
        <groupId>com.oracle.cloud.caching</groupId>
        <artifactId>cache-client-api</artifactId>
        <version>1.0.0</version>
    </dependency>
   ```

Further Information

For further information on using the Java API within your applications deployed on ACCS, see the documentation.

Contributing

This is an open source project and we welcome contributions. See CONTRIBUTING for details.

License

You may not use the identified files except in compliance with the Universal Permissive License (UPL), Version 1.0 (the "License.")

You may obtain a copy of the License at https://opensource.org/licenses/UPL. A copy of the license is also reproduced in LICENSE.md

com.oracle.cloud.caching

Oracle

Open Source at Oracle

Versions

Version
1.0.0