At WSO2 we are busy with something new for the new year 🙂 and we have just pushed the milestone-1 of it, not so complete but you can sure taste it. Everybody knows that WSO2 is big on Web Services, but over the years we have seen that the barrier between Web Services and Web Applications hasn’t been lowered. “Jaggery” is an effort to diminish this barrier and to merge the development process of services and applications.
- Includes support for,
- HTTP request/response and session
- JSON send/receive
- Server side XMLHttpRequest
- Web Service invocation
- File I/O
- Read/write feed
- Relational database
- WSO2 Registry/Repository
- Open Social gadgets
A hello world server-side script looks as follows,
and a HTML mixed, server page looks like,
For more information and samples you can visit Jaggery M1 Homepage, and stay tuned for more updates soon 🙂
Any specific reason to use Rhino instead of just using Node.js (which is the de facto for server-side JS and also utilizes the V8 engine)
Our plans for jaggery is to make it independent from the serverside JS runtime. We are in the process of doing that, and for the 1st cut we have used Rhino mainly because we have a strong ecosystem with Rhino from WSO2 Mashup Server (We already have a set of APIs to do certain serverside tasks, so it was a matter of reusing them).
http://vertx.io/ May be some competition.