红联Linux门户
Linux帮助

Scala的Web框架 Xitrum

发布时间:2013-05-16 21:22:12来源:红联作者:empast
xitrum 是一个 Scala 的 Web 框架,基于 Netty 开发。结构如下图所示:

+-----------------+
| Your app |
+-----------------+
| Xitrum | <-- Hazelcast --> Other instances
| +-------------+ |
| | Action/View | |
| +-------------+ |
+-----------------+
| Netty |
| +-------------+ |
| | HTTP Server | |
| +-------------+ |
+-----------------+

主要特性:

It fills the gap between Scalatra and Lift: more powerful than Scalatra and easier to use than Lift. You can easily create both RESTful APIs and postbacks. Xitrum is controller-first like Scalatra, not view-first like Lift.
Typesafe, in the spirit of Scala.
Asynchronous, in the spirit of Netty.
Stateless, by default sessions are not stored on server.
In-process and distribued cache using Hazelcast, you don't need separate cache servers.
Scalable Comet, you can scale Comet to multiple servers.

项目主页:https://github.com/ngocdaothanh/xitrum

下载地址:https://github.com/ngocdaothanh/xitrum/tags

来自:开源中国社区
文章评论

共有 0 条评论