Hi guys,
We've been working on a framework for building server-connected,
browser-based apps with java back-ends. We call our project "msjs" and
we use jQuery + Rhino on the server to build up a valid XHTML web page
and then send it down to the client, with all of the AJAX callbacks in
place. msjs also has features for server-push. Here's the link:
http://openmsjs.org
The cool thing, Java-wise, is LiveConnect, which you may remember from
Netscape 4 days. It's still alive and well in Rhino, and it means you
can go like:
var queue = new java.util.concurrent.ConcurrentLinkedQueue();
while( !queue.offer({foo: 1, bar:[1,2,3]}) ){
queue.take();
}
Anyway, msjs is beyond the scope of just a Java library for CouchDB,
but we've found that it's a nice way to connect web browsers to the
stuff that Java's good at: transactional business logic, shared
mutable data structures, that kind of thing. It's packaged as a war,
so you should be able to just drop it into your existing project.
We have a tutorial that gives you an idea of what it's like to program
in msjs here:
http://openmsjs.org/wiki/display/msjs/Your+first+msjs+app
We've also built a multi-host CouchDB admin tool using the system that
you can find out more about here:
http://openmsjs.org/wiki/display/msjs/Chaise
We'd love to hear from you! Thanks,
Adam Wolff
--
Subscription settings:
http://groups.google.com/group/couchdb-jvm-integration/subscribe?hl=en-GB