Giter VIP home page Giter VIP logo

vaadin-in-akka's Introduction

Vaadin( )in Akka

This is a full Java rewrite of the iconic "Reactive Stocks" Akka example app, with Vaadin UI. This project can act as an example how one can create a cool Vaadin RIA UI easily with plain Java - for your existing fault tolerant actor system built with Akka.

The project uses Java 8, so be sure to use that when trying this out. StockHubActor (StocksActor in original example) uses Akkas's new Lambda optimized API, introduced in 2.3. The StockActor is implemented in "legacy method" to demonstrate the difference of these two APIs.

The build uses currently Maven, so you can just import it to your favourite IDE and start playing with it. At least NetBeans 8 works out of the box with its Java 8 support. Also, if you just wish to see how the app looks, you can use mvn package jetty:run to launch the app locally from command line.

Note for Scala fanatics: You can rewrite any part of the application with Scala as well, and still use nice combination of Akka and Vaadin. Mixing them works fine e.g. with maven-scala-plugin or using the sbt build. And I'm sure you can also save some lines of code too ;-)

Building/running with Maven

mvn package jetty:run

SBT

Running Jetty

sbt container:start ~aux-compile

Generating Eclipse configurations:

sbt eclipse

###TODO:

  • Consider using Spring or Vaadin CDI to inject system & stocks hub reference
  • Consider adding similar "twitter AI" to suggest buy/hold/sell as in original example. That would make this example a "somelainen muija", Sorry, can't translate :-)

vaadin-in-akka's People

Contributors

mstahv avatar kumlien avatar

Watchers

James Cloos avatar Yu Li 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.