Dependencies¶
Dependency libraries¶
Xitrum includes some libraries. In your Xitrum project, you can use them directly if you want.
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:
- scala-xgettext: For extracting i18n strings from your .scala files when you compile them.
- xitrum-package: For packaging your project, ready to deploy to production server.
- Scalive: For connecting a Scala console to a running JVM process for live debugging.