Git Product home page Git Product logo

hotrod-demo's Introduction

jdg-visualizer

What is it?

This is a set of demo code that populates noticeable amount of data into Infinispan/JDG. This can be used along w/ the Visualizer application to see data grid in action. The Visualizer application can be found: https://github.com/infinispan/visual

System requirements

  • JBoss Data Grid 6.0 or Infinispan
  • Maven 2

Configure Maven

If not using Infinispan, everything should be good to go.

If you are using JDG 6, please make sure JDG 6 repository is configured based on JDG 6 Maven Repository installation instructions. Please change the pom.xml so that the Infinispan dependency is based on JDG 6 repository.

Configure the Demo

All configurations are in code (sorry), located in com.redhat.middleware.jdg.Main.

INITIAL_LIST

Set the INITIAL_LIST to at least one HotRod server. See HotRod Client documentation equivalent of: http://docs.jboss.org/infinispan/5.1/apidocs/org/infinispan/client/hotrod/RemoteCacheManager.html#RemoteCacheManager(java.lang.String,%20boolean)

CACHE_NAME

Set the CACHE_NAME to the name of the cache you want to use. By default, JDG comes w/ "namedCache" configuration. For Infinispan, try "___defaultcache".

Demos to Run

If you don't want to run something, comment it out. For TwitterDemoClient, you'll need to pass in a Consumer Key and a Consumer Secret. If you don't have one, go to https://dev.twitter.com/apps and create a new application.

Build and Run the Application

To run, you can do mvn exec:java, or execute main class com.redhat.middleware.jdg.Main

Debug the Application

If you want to debug the source code or look at the Javadocs of any library in the project, run either of the following commands to pull them into your local repository. The IDE should then detect them.

    mvn dependency:sources
    mvn dependency:resolve -Dclassifier=javadoc

hotrod-demo's People

Contributors

saturnism avatar

Watchers

Alan Santos avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.