Posts Tagged ‘Coherence’

image

This section includes documentation on running Oracle Coherence clusters inside Docker.

  1. Setup – Setting Up a Demo Docker Machine Environment
  2. Clustering – Running Coherence Clusters in Docker
  3. Coherence Extend – Running Coherence Extend in Docker
  4. Federated Caching – Federated Caching in Docker
  5. Disc Based Functionality – Elastic Data and Persistence in Docker
  6. JMX Monitoring – Using JMX in Docker

Get the Coherence Docker images here on GitHub

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki

 

clip_image002The new release of Coherence (12.2.1) implements several new features that improve and enrich the already existent functionality. One of these new features provides the administrators an interface to generate, persist and archive snapshots of the cache’s content. These snapshots can be recovered at any point in time, giving users the possibility to have several backups of the cache in order to avoid a total loss of the data.

Coherence supports two kinds of persistence: on-demand persistence mode and active persistence mode. On-demand persistence mode is done manually by using the MBeans provided by Coherence. In the active persistence mode, caches are persisted automatically when the content changes and are automatically recovered on cluster/service startup. In this blog entry I am going to describe how to configure an on-demand persistence cache in Weblogic 12.2.1 and how to generate the snapshots using the Coherence JVisualVM plugin.

Configuring the cache

I am going to start with a simple Weblogic domain with two managed server in a cluster, like the one showed in the following picture:

Once the domain is ready, the Coherence cluster can be configured along with the information about the snapshots that are going to be persisted and recovered. The snapshot configuration consists of two main parts: the first one defines the path where the snapshot is going to be stored and it is configured along with the cluster in the operational configuration file (coherence-operational-config.xml). The second part is done in the cache configuration file (Coherence-cache-config) and it tells the cache which persistence configuration it should use. Unfortunately, the path definition cannot be done in the Weblogic administration console. Therefore, we will have to use a coherence-operational-config file to define the Coherence cluster: Read the complete article here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki

 

clip_image001We are very happy to announce major new innovations with the release of Oracle Coherence 12.2.1 This release is one of the largest we have done and delivers several major features aimed at both developers and operations that improve developer productivity, support infrastructure consolidation, provide better security, and simplify multi-datacenter solutions. We are also announcing a new licensing option for low-cost deployment of small-to-medium sized deployments.

New Features

Coherence 12.2.1 is packed with major new features and capabilities:

  • The new Persistence feature enables Coherence to be a system-of-record and improves time-to-recovery from planned or unplanned, partial or total, cluster outage. Persistence can be configured to work in an on-line mode persisting changes as they are made to the cluster, or to take a snapshot of a data grid. Local disk configuration maximizes scalability, while network-attached storage maximizes availability.   Both data and metadata (indexes, listeners, expiry, locks, etc.) are stored, and recovery is completely automatic.
  • Federated Caching provides support for Active-Active, Active-Passive, Hub and Spoke, and custom multi-datacenter topologies. Implemented at the lowest level of Coherence, Federated Caching takes advantage of Message Bus, Elastic Data, and our new Persistence feature to improve scalability, durability, latency, and configurability of data replication over prior solutions. 
  • Coherence Multitenancy allows WebLogic Server Multitenant applications to share a cluster across a set of tenants and applications, consolidating infrastructure requirements. Multitenancy provides tenant-specific caches as well as shared caches for hosting reference data.  It is fully integrated with Oracle Traffic Director, WebLogic Server, and the Oracle Database to provide an end-to-end multitenant solution.
  • One of our most exciting new features is the integration we have done with Java 8 to provide Distributed Lambdas and Streams. We now provide the ability to execute Lambdas and Streams remotely, using standard Java 8, distributed across cluster members, without the need to deploy code on cluster servers. This provides the ability to do distributed, parallelized stream-based functional programming.  By reducing the need to deploy classes to servers, we have also greatly simplified application upgrade.
  • New Security Features include the ability to do fine-grained Authorization and Auditing of all cache access and updates.   We have also improved our SSL support. Read the complete article here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki

image

Want to learn more about Coherence? Get a free eBook “Oracle Coherence 3.5 “ only today!

Scalability, performance, and reliability have to be built into an application from the very beginning to avoid any consequences down the line. Discover these key skills that can be brought to any version of Oracle Coherence thanks to this free eBook. Master concepts like distributed caching, parallel processing, distributed queries and real-time events today!

Please visit the PACKT website here. For additional WebLogic books please visit our wiki here. Thanks to mp3monster for the tip ;-.)

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki

 

clip_image002Coherence plays an essential role inside the Oracle Cloud Application Foundation by providing an in-memory data grid for real-time data and event processing. Coherence delivers a series of features and benefits such as partitioned data caching,  support for Java/C++/.Net/Rest clients, distributed agents for remote data processing, real-time data query, event processing, transaction management and JPA support among others.

This blog will demonstrate how to create a sample Coherence cluster in Weblogic. A sample Java application will also be developed and it will be in charge of storing data into the Coherence cluster and consuming it. This sample cluster will be used as a starting point for future blog entries that will demonstrate other Coherence features.

The whole exercise follows these steps:

  • Configuration of the Coherence Cluster in Weblogic
  • GAR archive definition
  • Java client development
  • Deployment

Coherence Cluster Configuration

We will take a demo Weblogic domain with an admin server and two manage servers as a starting point. Read the complete article here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki

 

clip_image002Purpose

This tutorial tells you how to create an instance of Oracle Java Cloud Service that has Oracle Coherence enabled. You also learn about other tools and software (WebLogic Server Administration Console, Fusion Middleware Control, Oracle Coherence, and Oracle Traffic Director) that help you manage your instance in the cloud.

Time to Complete

Approximately 30 to 45 minutes, plus the time needed for Oracle Cloud to provision your instance. (Provisioning is the process of allocating cloud resources for your service.)

Introduction

Oracle Java Cloud Service is part of the platform service offerings in Oracle Cloud. Powered by Oracle WebLogic Server, it provides a platform on top of Oracle’s enterprise-grade cloud infrastructure for developing and deploying new or existing enterprise Java applications. You have the option of adding an Oracle Coherence caching and data grid tier to your deployment.

With Oracle Java Cloud Service, you can quickly create and configure Oracle WebLogic Server instances that are preconfigured to Oracle Database Cloud Service, set up your enterprise Java application environment without worrying about the underlying infrastructure, and thus get your application users up and running faster.

Scenario

You have subscriptions to Oracle Java Cloud Service, Oracle Database Cloud Service, and Oracle Storage Cloud Service. You have already provisioned instances of Oracle Database Cloud Service and Oracle Storage Cloud Service, and now you want to get started with Oracle Java Cloud Service. This tutorial takes you through that process. When you are finished, you will have an instance of Oracle Java Cloud Service that you can use to deploy applications and provide access to users. With Oracle Coherence enabled, you can also use Coherence caching and data grid functionality.

In this tutorial, you will create an instance with the following configuration:

  • Oracle WebLogic Server 12c (12.1.3)
  • One Oracle Compute Unit (OCPU) and 7.5 gigabytes of memory allocated for the service instance in the Virtual Machine (VM)
  • One storage-disabled WebLogic Server cluster with two Managed Servers
  • One storage-enabled WebLogic Server cluster with three Managed Servers (this is the Coherence data tier)
  • An SSH public key (associated with a private key) that you have in a file stored locally
  • A load balancer, configured with the policy Least Connection Count

Get the Tutorial here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki

clip_image002

Oracle’s Coherence product management director, Craig Blitz, introduces the 12.1.3 release and its two key themes of developer productivity and developer agility. New features such as JCache and the recently added support for the MemCached API are also mentioned. Watch the video here.

For more information visit the Coherence tag (WebLogic Community membership required)

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki