Jump To Close Expand all Collapse all Table of contents Getting Started Guide I. Introducing Red Hat JBoss Data Grid Expand section "I. Introducing Red Hat JBoss Data Grid" Collapse section "I. Introducing Red Hat JBoss Data Grid" 1. Red Hat JBoss Data Grid Expand section "1. Red Hat JBoss Data Grid" Collapse section "1. Red Hat JBoss Data Grid" 1.1. Supported Configurations 1.2. Components and Versions 1.3. Red Hat JBoss Data Grid Usage Modes Expand section "1.3. Red Hat JBoss Data Grid Usage Modes" Collapse section "1.3. Red Hat JBoss Data Grid Usage Modes" 1.3.1. Remote Client-Server Mode 1.3.2. Library Mode 1.4. Red Hat JBoss Data Grid Benefits 1.5. Red Hat JBoss Data Grid Version Information 1.6. Red Hat JBoss Data Grid Cache Architecture 1.7. Red Hat JBoss Data Grid APIs II. Download and Install Red Hat JBoss Data Grid Expand section "II. Download and Install Red Hat JBoss Data Grid" Collapse section "II. Download and Install Red Hat JBoss Data Grid" 2. Download Red Hat JBoss Data Grid Expand section "2. Download Red Hat JBoss Data Grid" Collapse section "2. Download Red Hat JBoss Data Grid" 2.1. Red Hat JBoss Data Grid Installation Prerequisites 2.2. Java Virtual Machine 2.3. Install OpenJDK on Red Hat Enterprise Linux 2.4. Download and Install JBoss Data Grid Expand section "2.4. Download and Install JBoss Data Grid" Collapse section "2.4. Download and Install JBoss Data Grid" 2.4.1. Download Red Hat JBoss Data Grid 2.4.2. About the Red Hat Customer Portal 2.4.3. Checksum Validation 2.4.4. Verify the Downloaded File 2.4.5. Install Red Hat JBoss Data Grid 2.4.6. Red Hat Documentation Site 3. Install and Use the Maven Repositories Expand section "3. Install and Use the Maven Repositories" Collapse section "3. Install and Use the Maven Repositories" 3.1. About Maven 3.2. Required Maven Repositories 3.3. Install the Maven Repository Expand section "3.3. Install the Maven Repository" Collapse section "3.3. Install the Maven Repository" 3.3.1. Local File System Repository Installation 3.3.2. Apache httpd Repository Installation 3.3.3. Maven Repository Manager Installation 3.4. Configure the Maven Repository Expand section "3.4. Configure the Maven Repository" Collapse section "3.4. Configure the Maven Repository" 3.4.1. Configuring the JBoss Data Grid Maven Repository in an Offline Environment 3.4.2. Next Steps III. Supported Containers for JBoss Data Grid Expand section "III. Supported Containers for JBoss Data Grid" Collapse section "III. Supported Containers for JBoss Data Grid" 4. Using JBoss Data Grid with Supported Containers Expand section "4. Using JBoss Data Grid with Supported Containers" Collapse section "4. Using JBoss Data Grid with Supported Containers" 4.1. Deploy JBoss Data Grid in JBoss EAP (Library Mode) 4.2. Deploy JBoss Data Grid in JBoss EAP (Remote Client-Server Mode) Expand section "4.2. Deploy JBoss Data Grid in JBoss EAP (Remote Client-Server Mode)" Collapse section "4.2. Deploy JBoss Data Grid in JBoss EAP (Remote Client-Server Mode)" 4.2.1. Using Custom Classes with the Hot Rod client 4.3. Deploy JBoss Data Grid in JBoss Enterprise Web Server 4.4. Deploy Web Applications on WebLogic Server (Library Mode) 4.5. Deploy Web Applications on WebLogic Server (Remote Client-Server Mode) 4.6. Running Red Hat JBoss Data Grid in Karaf (OSGi) Expand section "4.6. Running Red Hat JBoss Data Grid in Karaf (OSGi)" Collapse section "4.6. Running Red Hat JBoss Data Grid in Karaf (OSGi)" 4.6.1. Running a Deployment of JBoss Data Grid in Karaf (Remote Client-Server) 4.6.2. Installing the Hot Rod client feature in Karaf 4.6.3. Installing Red Hat JBoss Data Grid in Karaf (Library Mode) 5. Running Red Hat JBoss Data Grid with Apache Camel Expand section "5. Running Red Hat JBoss Data Grid with Apache Camel" Collapse section "5. Running Red Hat JBoss Data Grid with Apache Camel" 5.1. The camel-jbossdatagrid Component 5.2. Routing with Camel in JBoss Data Grid 5.3. Remote Query 5.4. Custom Listeners for Embedded Cache 5.5. Custom Listeners for Remote Cache 5.6. Red Hat JBoss Data Grid and Red Hat JBoss Fuse Expand section "5.6. Red Hat JBoss Data Grid and Red Hat JBoss Fuse" Collapse section "5.6. Red Hat JBoss Data Grid and Red Hat JBoss Fuse" 5.6.1. Installing camel-jbossdatagrid for Red Hat JBoss Fuse 5.7. Red Hat JBoss Data Grid and Red Hat JBoss EAP Expand section "5.7. Red Hat JBoss Data Grid and Red Hat JBoss EAP" Collapse section "5.7. Red Hat JBoss Data Grid and Red Hat JBoss EAP" 5.7.1. Installing camel-jbossdatagrid for Red Hat JBoss Enterprise Application Platform 5.7.2. Deploy Camel with EAP: IV. Running Red Hat JBoss Data Grid Expand section "IV. Running Red Hat JBoss Data Grid" Collapse section "IV. Running Red Hat JBoss Data Grid" 6. Run Red Hat JBoss Data Grid JAR Files with Maven Expand section "6. Run Red Hat JBoss Data Grid JAR Files with Maven" Collapse section "6. Run Red Hat JBoss Data Grid JAR Files with Maven" 6.1. Run JBoss Data Grid (Remote Client-Server Mode) 6.2. Run JBoss Data Grid (Library Mode) 7. Run Red Hat JBoss Data Grid in Remote Client-Server Mode Expand section "7. Run Red Hat JBoss Data Grid in Remote Client-Server Mode" Collapse section "7. Run Red Hat JBoss Data Grid in Remote Client-Server Mode" 7.1. Prerequisites 7.2. Run Red Hat JBoss Data Grid in Standalone Mode 7.3. Run Red Hat JBoss Data Grid in Clustered Mode 7.4. Run Red Hat JBoss Data Grid in a Managed Domain 7.5. Run Red Hat JBoss Data Grid with a Custom Configuration 7.6. Set an IP Address to Run Red Hat JBoss Data Grid 7.7. Running Red Hat JBoss Data Grid 8. Run a Red Hat JBoss Data Grid as a Node without Endpoints Expand section "8. Run a Red Hat JBoss Data Grid as a Node without Endpoints" Collapse section "8. Run a Red Hat JBoss Data Grid as a Node without Endpoints" 8.1. Benefits of a Node Without Endpoints 8.2. Sample Configuration for a Node without Endpoints 8.3. Configure a Node with No Endpoints 9. Run Red Hat JBoss Data Grid in Library Mode Expand section "9. Run Red Hat JBoss Data Grid in Library Mode" Collapse section "9. Run Red Hat JBoss Data Grid in Library Mode" 9.1. Create a New Red Hat JBoss Data Grid Project 9.2. Add Dependencies to Your Project 9.3. Add a Profile to Your Project 10. Run Red Hat JBoss Data Grid in Library Mode (Single-Node Setup) Expand section "10. Run Red Hat JBoss Data Grid in Library Mode (Single-Node Setup)" Collapse section "10. Run Red Hat JBoss Data Grid in Library Mode (Single-Node Setup)" 10.1. Run the Quickstart Class 10.2. Use the Default Cache Expand section "10.2. Use the Default Cache" Collapse section "10.2. Use the Default Cache" 10.2.1. Add and Remove Data from the Cache 10.2.2. Adding and Replacing a Key Value 10.2.3. Removing Entries 10.2.4. Placing and Retrieving Sets of Data 10.2.5. Adjust Data Life 10.2.6. Default Data Mortality 10.2.7. Register the Named Cache Using XML 11. Run Red Hat JBoss Data Grid in Library Mode (Multi-Node Setup) Expand section "11. Run Red Hat JBoss Data Grid in Library Mode (Multi-Node Setup)" Collapse section "11. Run Red Hat JBoss Data Grid in Library Mode (Multi-Node Setup)" 11.1. Sharing JGroup Channels 11.2. Run Red Hat JBoss Data Grid in a Cluster Expand section "11.2. Run Red Hat JBoss Data Grid in a Cluster" Collapse section "11.2. Run Red Hat JBoss Data Grid in a Cluster" 11.2.1. Compile the Project 11.2.2. Run the Clustered Cache with Replication Mode 11.2.3. Run the Clustered Cache with Distribution Mode 11.2.4. Configure the Cluster 12. Monitor Red Hat JBoss Data Grid Applications in Red Hat JBoss EAP Expand section "12. Monitor Red Hat JBoss Data Grid Applications in Red Hat JBoss EAP" Collapse section "12. Monitor Red Hat JBoss Data Grid Applications in Red Hat JBoss EAP" 12.1. Prerequisites 12.2. Monitor Red Hat JBoss Data Grid Applications in Red Hat JBoss EAP V. Set Up a Cache Manager Expand section "V. Set Up a Cache Manager" Collapse section "V. Set Up a Cache Manager" 13. Cache Managers Expand section "13. Cache Managers" Collapse section "13. Cache Managers" 13.1. Types of Cache Managers 13.2. Creating CacheManagers Expand section "13.2. Creating CacheManagers" Collapse section "13.2. Creating CacheManagers" 13.2.1. Create a New RemoteCacheManager 13.2.2. Create a New Embedded Cache Manager 13.2.3. Create a New Embedded Cache Manager Using CDI 13.3. Multiple Cache Managers Expand section "13.3. Multiple Cache Managers" Collapse section "13.3. Multiple Cache Managers" 13.3.1. Create Multiple Caches with a Single Cache Manager 13.3.2. Using Multiple Cache Managers 13.3.3. Create Multiple Cache Managers VI. Red Hat JBoss Data Grid Quickstarts Expand section "VI. Red Hat JBoss Data Grid Quickstarts" Collapse section "VI. Red Hat JBoss Data Grid Quickstarts" 14. The Hello World Quickstart Expand section "14. The Hello World Quickstart" Collapse section "14. The Hello World Quickstart" 14.1. Quickstart Prerequisites 14.2. Start Two Application Server Instances 14.3. Build and Deploy the Hello World Quickstart 14.4. Access the Running Application 14.5. Test Replication on the Application 14.6. Remove the Application 15. The CarMart Quickstarts Expand section "15. The CarMart Quickstarts" Collapse section "15. The CarMart Quickstarts" 15.1. About the CarMart Transactional Quickstart 15.2. Differences Between the CarMart and Transactional Quickstarts 15.3. The (Non-transactional) CarMart Quickstart Using JBoss EAP Expand section "15.3. The (Non-transactional) CarMart Quickstart Using JBoss EAP" Collapse section "15.3. The (Non-transactional) CarMart Quickstart Using JBoss EAP" 15.3.1. Quickstart Prerequisites 15.3.2. Build and Deploy the CarMart Quickstart to JBoss EAP 15.3.3. View the CarMart Quickstart on JBoss EAP 15.3.4. Remove the CarMart Quickstart from JBoss EAP 15.4. The (Non-transactional) CarMart Quickstart Using JBoss Enterprise Web Server Expand section "15.4. The (Non-transactional) CarMart Quickstart Using JBoss Enterprise Web Server" Collapse section "15.4. The (Non-transactional) CarMart Quickstart Using JBoss Enterprise Web Server" 15.4.1. Build and Deploy the CarMart Quickstart to JBoss Enterprise Web Server 15.4.2. View the CarMart Quickstart Using JBoss Enterprise Web Server 15.4.3. Remove the CarMart Quickstart from JBoss Enterprise Web Server 15.5. The (Non-transactional) CarMart Quickstart in Remote Client-Server Mode (JBoss EAP) Expand section "15.5. The (Non-transactional) CarMart Quickstart in Remote Client-Server Mode (JBoss EAP)" Collapse section "15.5. The (Non-transactional) CarMart Quickstart in Remote Client-Server Mode (JBoss EAP)" 15.5.1. Build and Deploy the CarMart Quickstart in Remote Client-Server Mode 15.5.2. View the CarMart Quickstart in Remote Client-Server Mode 15.5.3. Remove the CarMart Quickstart in Remote Client-Server Mode 15.6. The (Non-Transactional) CarMart Quickstart in Remote Client-Server Mode (JBoss Enterprise Web Server) Expand section "15.6. The (Non-Transactional) CarMart Quickstart in Remote Client-Server Mode (JBoss Enterprise Web Server)" Collapse section "15.6. The (Non-Transactional) CarMart Quickstart in Remote Client-Server Mode (JBoss Enterprise Web Server)" 15.6.1. Build and Deploy the CarMart Quickstart in Remote Client-Server Mode 15.6.2. View the CarMart Quickstart in Remote Client-Server Mode 15.6.3. Remove the CarMart Quickstart in Remote Client-Server Mode 15.7. The (Transactional) CarMart Quickstart Using JBoss EAP Expand section "15.7. The (Transactional) CarMart Quickstart Using JBoss EAP" Collapse section "15.7. The (Transactional) CarMart Quickstart Using JBoss EAP" 15.7.1. Quickstart Prerequisites 15.7.2. Build and Deploy the Transactional CarMart Quickstart 15.7.3. View the Transactional CarMart Quickstart 15.7.4. Undeploy The Transactional CarMart Quickstart 15.7.5. Test the Transactional CarMart Quickstart 15.8. The (Transactional) CarMart Quickstart Using JBoss Enterprise Web Server Expand section "15.8. The (Transactional) CarMart Quickstart Using JBoss Enterprise Web Server" Collapse section "15.8. The (Transactional) CarMart Quickstart Using JBoss Enterprise Web Server" 15.8.1. Quickstart Prerequisites 15.8.2. Build and Deploy the Transactional CarMart Quickstart 15.8.3. View the Transactional CarMart Quickstart 15.8.4. Undeploy The Transactional CarMart Quickstart 15.8.5. Test the Transactional CarMart Quickstart 16. The Football Quickstart Endpoint Examples Expand section "16. The Football Quickstart Endpoint Examples" Collapse section "16. The Football Quickstart Endpoint Examples" 16.1. Quickstart Prerequisites 16.2. Build the Football Application 17. The Rapid Stock Market Quickstart Expand section "17. The Rapid Stock Market Quickstart" Collapse section "17. The Rapid Stock Market Quickstart" 17.1. Build and Run the Rapid Stock Market Quickstart 18. The Cluster App Quickstart Expand section "18. The Cluster App Quickstart" Collapse section "18. The Cluster App Quickstart" 18.1. EAP Cluster App Prerequisites 18.2. Start the Application Server Instances 18.3. Build the Application 18.4. Run the Application 18.5. Debug the Application 19. The camel-jbossdatagrid-fuse Quickstart Expand section "19. The camel-jbossdatagrid-fuse Quickstart" Collapse section "19. The camel-jbossdatagrid-fuse Quickstart" 19.1. Quickstart Prerequisites 19.2. Setup 19.3. Testing the camel-jbossdatagrid-fuse Quickstart VII. Uninstall Red Hat JBoss Data Grid Expand section "VII. Uninstall Red Hat JBoss Data Grid" Collapse section "VII. Uninstall Red Hat JBoss Data Grid" 20. Remove Red Hat JBoss Data Grid Expand section "20. Remove Red Hat JBoss Data Grid" Collapse section "20. Remove Red Hat JBoss Data Grid" 20.1. Remove Red Hat JBoss Data Grid from Your Linux System 20.2. Remove Red Hat JBoss Data Grid from Your Windows System A. References Expand section "A. References" Collapse section "A. References" A.1. About Key-Value Pairs B. Maven Configuration Information Expand section "B. Maven Configuration Information" Collapse section "B. Maven Configuration Information" B.1. Install the JBoss Enterprise Application Platform Repository Using Nexus B.2. Maven Repository Configuration Example B.3. Determining the URL of the JBoss Data Grid Repository C. Revision History Legal Notice Settings Close Language: English 日本語 Language: English 日本語 Format: Multi-page Single-page PDF Format: Multi-page Single-page PDF Language and Page Formatting Options Language: English 日本語 Language: English 日本語 Format: Multi-page Single-page PDF Format: Multi-page Single-page PDF Getting Started Guide Red Hat JBoss Data Grid 7.0For use with Red Hat JBoss Data Grid 7.0 Misha Husnain Ali Red Hat Engineering Content Services mhusnain@redhat.comGemma Sheldon Red Hat Engineering Content Services gsheldon@redhat.comRakesh Ghatvisave Red Hat Engineering Content Services rghatvis@redhat.comChristian Huffman Red Hat Engineering Content Services chuffman@redhat.comLegal NoticeAbstract This guide outlines introductory concepts and operations within Red Hat JBoss Data Grid 7.0 Next