DAS writeback

The current version of the DAS writeback server that uses MyDAS is here: http://code.google.com/p/writeback/ There is an older version that is at a different google location – make sure you don’t use that one. The writeback implementation was written by Gustavo.

The code can be downloaded from svn and used in eclipse much the same as I’ve described in a previous post about JDAS. Once you have the war file running on a server you can access the basic writeback client at http://localhost:8080/writeback-datasource/ not the url stated in the tutorial here http://code.google.com/p/writeback/wiki/Tutorial which probably works if you download the .war file instead of using svn.

The root of the DAS source created is here http://localhost:8080/writeback-datasource/das/

after going through the tutorial example if I make a request to get the features I’ve just created It appears to be that I don’t get a response, however when you look at the source of the web page the xml is there. This I think is a stylesheet issue.



to create a mysql database for use:

for das writeback on laptop mysql instance:

mysql -u root

create database daswriteback;

grant all privileges on daswriteback.* to dasregistry@localhost;

Then we edit the hibernate.cfg.xml file to use the mysql database rather than derby:


<property name=”hibernate.connection.driver_class”>com.mysql.jdbc.Driver</property>

<property name=”hibernate.connection.password”>dasregistry</property>

<property name=”hibernate.connection.url”>jdbc:mysql://localhost/daswriteback</property>

<property name=”hibernate.connection.username”>dasregistry</property>

<property name=”hibernate.dialect”>org.hibernate.dialect.MySQLDialect</property>

<!–         <property name=”hbm2ddl.auto”>update</property> –>

<property name=”hbm2ddl.auto”>create</property>

<property name=”show_sql”>true</property>

<mapping resource=”uk/ac/ebi/mydas/writeback/datasource/model/Type.hbm.xml”/>

<mapping resource=”uk/ac/ebi/mydas/writeback/datasource/model/Method.hbm.xml”/>

<mapping resource=”uk/ac/ebi/mydas/writeback/datasource/model/Target.hbm.xml”/>

<mapping resource=”uk/ac/ebi/mydas/writeback/datasource/model/Users.hbm.xml”/>

<mapping resource=”uk/ac/ebi/mydas/writeback/datasource/model/Feature.hbm.xml”/>

<mapping resource=”uk/ac/ebi/mydas/writeback/datasource/model/Segment.hbm.xml”/>

A new page about setting up the advanced search index for MyDAS is now here: http://code.google.com/p/mydas/wiki/AdvanceSearch?ts=1318324380&updated=AdvanceSearch

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: