Thanks to visit codestin.com
Credit goes to github.com

Skip to content

CorbinDallas/orbit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Orbit Framework

Orbit is a modern framework for JVM languages that makes it easier to build and maintain distributed and scalable online services.

Orbit contains two primary components:

  • Orbit Actors, a framework to write distributed systems using virtual actors.
  • Orbit Container, a minimal inversion of control container for building online services.

It was developed by BioWare, a division of Electronic Arts. For the latest news, follow us on Twitter.
If you're looking for virtual actors on the .NET CLR, see Orleans.

Documentation

Documentation is located here.

License

Orbit is licensed under the BSD 3-Clause License.

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")

About

Orbit - Build distributed and scalable online services

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%