Dependencies

Dependency libraries

Xitrum includes some libraries. In your Xitrum project, you can use them directly if you want.

_images/deps.png

Main dependencies:

  • Scala: Xitrum is written in Scala language.

  • Netty: For async HTTP(S) server. Many features in Xitrum are based on those in Netty, like WebSocket and zero copy file serving.

  • Akka: For SockJS. Akka depends on Typesafe Config, which is also used by Xitrum.

Other dependencies:

  • Commons Lang: For escaping JSON data.

  • Glokka: For clustering SockJS actors.

  • JSON4S: For parsing and generating JSON data. JSON4S depends on Paranamer.

  • Rhino: For Scalate to compile CoffeeScript to JavaScript.

  • Sclasner: For scanning HTTP routes in action classes in .class and .jar files.

  • Scaposer: For i18n.

  • Twitter Chill: For serializing and deserializing cookies and sessions. Chill is based on Kryo.

  • SLF4S, Logback: For logging.

Xitrum new project skeleton includes these tools: