Hi,
I guess as the creator of this group I should make the first post :).
I created the group to concentrate on integrating CouchDB with jvm
based languages and to discuss what patterns people are using or what
patterns they would like to see from an api.
Theres a couple of apis out there at the moment and I`d be interested
to know if anyone else is working on an api or have a Grails/Java/
Scala webapp in production using CouchDB. It would also be interesting
to know what apis people are using and how they`ve found them.
I started looking into CouchDB a few weeks ago and I`ve started using
jCouchDB for the project I`m working on. JCouchDB has helped a lot
but ,but coming from a JPA/Hibernate background, I wanted to use an
annotation based approach to keep a clean domain model which doesn`t
have to derive from any base classes.
So I started the jBeanbag project
http://code.google.com/p/jbeanbag/ a
couple of weeks ago with the aim of creating a annotation based api
which doesn`t involve deriving any classes in your domain model from a
api class Hierarchy.
I`d like to get other people involved in developing the api or join up
with anyone else whos developing an annotation based api. I think its
quite an interesting project as its a pure Java project which doesn`t
depend on many other jars and it uses a lot of reflection for
serialising to/from JSON/Java.
I`m using the ObjectWeb ASM library for easy parsing of classes ,and
to get generic information which isn`t available using reflection, to
create a meta model of all the fields and annotations in the classes.
This metamodel is cached the first time its created ,using ehcache,
and is used when an associated object is passed in the api to extract/
set fields in the object using reflection.
Why jBeanbag? Well I thought it fits with the whole relax furniture
related themes of couchdb :) and also as far as the api/your
application is concerned its just a bag of java beans no need to tie
it ,via inheritence, to a specific framework as it uses annotations so
your domain model is free to extend what ever it wants.
So please post any messages to discusss how your using CouchDB with a
JVM language,what problems your having or what you`d like to see in an
api. Also if any one wnats to get involved in jBeanbag let me know.
Darran
--
Subscription settings:
http://groups.google.com/group/couchdb-jvm-integration/subscribe?hl=en-GB