Git Product home page Git Product logo

grakka's Introduction

Grakka

Grakka is a simple demonstration application showing how to integrate Grails 3.x and Akka 2.4.

Grakka integrates Grails and Akka following the same Spring context integration approach demonstrated in Typesafe's activator-akka-java-spring demo.

The QualiMente blog post Integrating Grails and Akka, provides an in-depth explanation of the integration.

The key of the design is that the Spring context is responsible for creating both Grails objects and Akka actors. Since Spring is responsible for object creation a number of nice features are available automatically:

  • Grails objects may be injected with Akka objects, e.g. NumberController is injected with the ActorSystem
  • Akka actors may be injected with Grails objects, e.g. NumberActor is injected with a Grails Service

The availability of bi-directional injection of resources enables the application designer to decide which way(s) dependencies should flow through the application.

Integration Implementation

There are few classes that collaborate to implement the integration, all in grails-app/utils/conf:

Thanks

Thank you very much to the folks who make tech like grakka possible:

grakka's People

Contributors

skuenzli avatar

Watchers

James Cloos avatar

Forkers

megabites2013

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.