Findis Prototype Web Service
| Contributed by: | Juha Muilu |
| Originally posted: | 21st October 2009: 7:11 pm |
| Last updated: | 25th November 2009: 12:51 pm |
| Short URL: | http://gen2phen.org/node/8090 |
I made a prototype web service for the findis national mutation database using rest protocol. The db is rather small ~1000 or so mutations from 37 genes.
Service is implemented on Java using the RESTeasy framework. Source code will be made available from the KC's svn.
List of gene can be obtained from here:
http://www.findis.org/service/genes
And here is the example of getting mutation data for the gene AMT:
http://www.findis.org/service/variants/AMT
Mimetype is application-xml which may not be directly visible in browsers (view source instead). Formats are freely developed from previous works.... and will be converted to atom or whatever. That is something we need to discuss and finalize asap :-). Note also that we do not have patient info since mutations are from finnish population. I will add bit more details later.
Also following Atom services are made available using RESTeasy's Atom extensions:
feed://findis.org/feeds/variants/AMT
I copied content from Ivo's LOVD implementation
- Login to post comments

Comments
Comments
#1 Excellent. Impressive work,
Excellent. Impressive work, Juha! I like the dead-simple URL layout, and of course the Atom feeds are icing on the cake.
Great to hear that you could quickly get something running with the RESTeasy framework. It will be good to see the Java code you built on top of the Findis db.
#2 Thanks Mummi, The code is
Thanks Mummi,
The code is available on https://svn.gene.le.ac.uk/gen2phen/webservices/trunk/findis/src/main/jav...
Hope its is readable... I try to improve and generalize it later. Also like to mention that I was learning these things while coding so there are likely errors etc.
Maven pom.xml has all dependencies needed. Once maven is installed you can compile the code using mvn compile and install using mvn tomcat:redeploy, but for that you need access to findis mysql db...