User:Lindenb/Notebook/UMR915/20100706

From OpenWetWare

Jump to: navigation, search

20100705        Top        20100708       


JRUNSCRIPT

The current implementation of UMR915DB allows to deploy it into jrunscript/rhino:

 ${JAVA_HOME}/bin/jrunscript -f jeter.js -cp dist/lib915.jar:/usr/local/package/mysql-connector-java-5.1.12/mysql-connector-java-5.1.12-bin.jar


 importClass(Packages.fr.inserm.umr915.core.db.UMR915DB);
 
 database=new UMR915DB();
 
 genes=database.knownGenes;
 for(i=0;i< genes.size();++i)
 	{
 	println( genes.get(i) );
 	}
 
 database.close();
Personal tools