[go: up one dir, main page]

Menu

Tree [42bbef] v0.2.4 /
 History

HTTPS access


File Date Author Commit
 .idea 2015-04-10 Daniel Sperry Daniel Sperry [c0908b] Setting intellij copyright defaults.
 actors 2015-05-12 joe@bioware.com joe@bioware.com [42bbef] Release 0.2.4
 async 2015-05-12 joe@bioware.com joe@bioware.com [42bbef] Release 0.2.4
 commons 2015-05-12 joe@bioware.com joe@bioware.com [42bbef] Release 0.2.4
 container 2015-05-12 joe@bioware.com joe@bioware.com [42bbef] Release 0.2.4
 packaging 2015-05-12 joe@bioware.com joe@bioware.com [42bbef] Release 0.2.4
 samples 2015-05-12 joe@bioware.com joe@bioware.com [42bbef] Release 0.2.4
 utils 2015-05-12 joe@bioware.com joe@bioware.com [42bbef] Release 0.2.4
 web 2015-05-12 joe@bioware.com joe@bioware.com [42bbef] Release 0.2.4
 .gitignore 2015-04-20 Lennart Goedhart Lennart Goedhart [b6e81a] Fix timestamps in the frontend UI, make it work...
 .travis.yml 2015-05-10 Ricardo Mello Ricardo Mello [fa68e3] Added embedded apacheds LDAP server for tests
 CONTRIBUTING.md 2015-03-27 joe@bioware.com joe@bioware.com [d5202a] CLA Update
 LICENSE 2015-03-26 joe@bioware.com joe@bioware.com [bd0f36] First Commit
 README.md 2015-05-01 Joe Hegarty Joe Hegarty [ddd013] Update README.md
 eclipse-code-style.epf 2015-04-09 Sperry, Daniel Sperry, Daniel [bbd471] Adding eclipse preference file copyright settings.
 pom.xml 2015-05-12 joe@bioware.com joe@bioware.com [42bbef] Release 0.2.4

Read Me

Orbit Framework

Build Status
Maven Central
Issue Stats
Issue Stats

Gitter

Orbit is a modern framework for JVM languages that makes it easier to build and maintain distributed and scalable online services.
It was developed by BioWare, a division of Electronic Arts. For the latest news, follow us on Twitter.

Orbit is primarily made up of the following components:

  • Orbit Actors, a framework to write distributed systems using virtual actors.
  • Orbit Async, async-await methods for the JVM.
  • Orbit Container, a minimal inversion of control container for building online services.
  • Orbit Utils, a set of utils to help simplify various tasks on the JVM.
  • Orbit Web, a lightweight HTTP and Websockets container for Orbit, powered by Jetty.
  • Orbit Commons, various common utilities used by Orbit.

Documentation

Documentation is located here.

See the Hello World sample.

License

Orbit is licensed under the BSD 3-Clause License.

The Orbit Team

Simple Examples

Actors - Java

public interface IHello extends IActor
{
    Task<String> sayHello(String greeting);
}

public class HelloActor extends OrbitActor implements IHello
{
    public Task<String> sayHello(String greeting)
    {
        getLogger().info("Here: " + greeting);
        return Task.fromValue("Hello There");
    }
}

IActor.getReference(IHello.class, "0").sayHello("Meep Meep");

Actors - Scala

trait IHello extends IActor {
  def sayHello(greeting: String): Task[String]
}

class HelloActor extends OrbitActor[AnyRef] with IHello {
  def sayHello(greeting: String): Task[String] = {
    getLogger.info("Here: " + greeting)
    Task.fromValue("Hello There")
  }
}

IActor.getReference(classOf[IHello], "0").sayHello("Meep Meep")