Coder Social home page Coder Social logo

chimejavaexample's Introduction

Chime is time scheduler which works on Vert.x.

Chime is written in Ceylon and to use it with Java Ceylon verticle factory has to be available at class path.

Note: Vert.x 3.4.1 depends on Ceylon 1.3.0 while Chime 0.2.0 depends on Ceylon 1.3.2. It is required to put versions to consistency.

To build the project with Maven it is required:

  1. Add dependency on io.vertx:vertx-core:3.4.1 with excluded dependency on org.ceylon-lang:ceylon-complete. This is general dependency on Vert.x in Java.
  2. Add dependency on io.vertx:vertx-lang-ceylon:3.4.1 with excluded dependency on org.ceylon-lang:ceylon-complete. This dependency provides Ceylon verticle factory.
  3. Add dependency on org.ceylon-lang:ceylon-complete:1.3.2. This is required to use Ceylon.

As example, see pom in this repository.

This Chime Java example:

  • Deploys Chime.
  • Creates timer with 1 second interval which fires just 3 times.
  • Prints timer event to stdout.
  • Closes Vert.x when timer completes.

chimejavaexample's People

Contributors

lisilisenok avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

chimejavaexample's Issues

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.