An embedded Scala web server powered by Netty networking and Akka processing.
We are currently working on a HTML5 style app called MashupBots.
We wanted an open source, lightweight and embeddable Scala web server that can serve static files and support RESTful APIs to our business logic implemented in Akka.
We do not need a web application framework: server side templating, caching, session management, etc.
We couldn't find a web server that exactly met our requirements, so we decided to write one.
We hope you find it as useful as we do.
Socko is ...
Intended for Scala and Akka developersPut a RESTful API in front of your Akka actors. Serve static files. Use our Unfiltered like routing DSL.
Embedded into your App
Lightweightv0.2 has > 4000 lines of Scala and Java. Only depedancy is Netty and Akka 2.0
Supportive of HTTP and HTML5 StandardsHTTP/S, WebSockets, Compression, Headers, Post Body Decoding, SPDY
Socko is not a standalone web server.It must be embedded within your application.
Socko is not a servlet container.It will not run your servlet or JSP pages.
Socko is not a web application or MVC framework like Lift or Play.It does not perform server side HTML templating. We use client side javascript libraries like EmberJS and BackboneJS instead.
We couldn't find a web server that exactly met our requirements, so we decided to write one.