The first component is Hibernate connectivity. My framework lets you:
2. Access Hibernate functionality through a "hibernate" host object. For example, a JSUnit method testing the addition of a new "Application" object:
var app=new Application();
3. Query the database either through the HQL language:
var apps=hibernate.query("from Application where urlName=?",["TestAppJS"]);
That I think is very cool. In Rhino I can access the source code of the function that is passed as the second argument to query, and transform it into HQL. I haven't implemented as much as I could, of course, but it works with simple queries. At least there is no other syntax to learn to do a query, it's basically the equivalent of a filter function in functional language.