According to the OrientDB's website:
OrientDB is a new Open Source NoSQL DBMS born with the best features of all the others. It's written in Java and it's amazing fast: can store up to 150,000 records per second on common hardware. Even if it's Document based database the relationships are managed as in Graph Databases with direct connections among records. You can travere entire or part of trees and graphs of records in few milliseconds. Supports schema-less, schema-full and schema-mixed modes. Has a strong security profiling system based on user and roles and support the SQL between the query languages. Thank to the SQL layer it's straightforward to use it for people skilled in Relational world.
Both Realms are hosted on Gitorious, here.
To clone the Tomcat 6 Realm, run
git clone git://gitorious.org/tomcat-orientdb-realm/tomcat6-orientdb-realm.git |
To clone the Tomcat 7 Realm, run
git clone git://gitorious.org/tomcat-orientdb-realm/tomcat7-orientdb-realm.git |
Compilation can be made with Maven. Run:
mvn clean package |
Note for the Tomcat 6 Realm: If org.apache.tomcat:tomcat-catalina:jar:6.0.32
and org.apache.tomcat:tomcat-juli:jar:6.0.32
are missing, go into the dependencies folder and run:
mvn install:install-file -DgroupId=org.apache.tomcat -DartifactId=tomcat-catalina -Dversion=6.0.32 -Dpackaging=jar -Dfile=catalina.jar |
and
mvn install:install-file -DgroupId=org.apache.tomcat -DartifactId=tomcat-juli -Dversion=6.0.32 -Dpackaging=jar -Dfile=tomcat-juli.jar |
and then re-run
mvn clean package |
Extract all the jars archived in the lib folder of the newly created {{target/tomcat\[6|7\]-orientdb-realm-<version>-bin.zip}} into your Tomcat's lib directory. |
The realm's attributes are:
Example:
<Realm className="ca.inocybe.tomcat.OrientDBRealm" orientHost="myorienthost.com" orientHostPort="2424" orientDbName="database" orientUsername="admin" orientPassword="password" userClass="users" passwordProperty="password" rolesProperty="groups" /> |
Contact jonathan.tellier@gmail.com