<Insert Picture Here> Coherence 12.1.2 Configuration Enhancements Part 2: Custom Configuration Namespaces Brian Oliver Senior Consulting Member of Staff Cloud Application Foundation - Oracle Coherence Oracle Fusion Middleware 12c Cloud Application Foundation Coherence 12.1.2
24
Embed
Coherence Configuration Enhancements - Part 2 - Custom Configuration Namespaces
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
<Insert Picture Here>
Coherence 12.1.2 Configuration EnhancementsPart 2: Custom Configuration NamespacesBrian OliverSenior Consulting Member of StaffCloud Application Foundation - Oracle Coherence
Oracle Fusion Middleware 12c Cloud Application Foundation
The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.
Old Style Cache Store Configuration<cache-config xmlns="http://xmlns.oracle.com/coherence/coherence-cache-config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="" xsi:schemaLocation="http://xmlns.oracle.com/coherence/coherence-cache-config coherence-cache-config.xsd">
My Custom Cache Store Configuration<cache-config xmlns="http://xmlns.oracle.com/coherence/coherence-cache-config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="" xsi:schemaLocation="http://xmlns.oracle.com/coherence/coherence-cache-config coherence-cache-config.xsd">
• Use Case:– Provide an Object to Coherence (not have Coherence build one)– Use an external Container/ Factory / Framework to provide them– Coherence should just use but not instantiate Objects
• Historical Solution:– Use <class-scheme> with <class-factory-name> and <method-
• For CDI / Spring / Guice et al support…– Extend internal DefaultConfigurableCacheFactory class– And… override internally defined instantiateAny(…) method– Or... configure a SpringAwareCacheFactory
• Oh no!!!– Can’t easily use both SpringAwareCacheFactory and Incubator…
together… Each implementation uses the same technique!
• Perhaps you need…– A Database Connection from a Database Connection Pool?– A JNDI Resource?– A Transaction Manager?– … are probably provided by another framework– … how to you “get” them into your “Cache Store”?
• Coherence 12.1.2 introduces Custom Namespace Configurations– Allows integration of third-party frameworks directly into Coherence– Allows independent development of extensions– Allows customization of Coherence
The proceeding is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.
<Insert Picture Here>
Coherence 12.1.2 Configuration EnhancementsPart 2: Custom Configuration NamespacesBrian OliverSenior Consulting Member of StaffCloud Application Foundation - Oracle Coherence
Oracle Fusion Middleware 12c Cloud Application Foundation