MetNet Java API tutorial

Welcome

We provide several Quickstart tutorials with instructions on getting you jumpstarted with specific IDEs as well. Choose Eclipse or Netbeans.

In order to access the API, add a reference to the MySQL JDBC driver (an older, local copy is available here for your convenience), as well as the metnet3.jar file, then add the following line of code at the top of your source files:

import edu.iastate.metnet.*;
The MySQL driver is required by the MetNet API, but you don't need to reference it in your source code (unless your code uses a database as well of course).

This tutorial consists of different parts. If you're new to the API, we recommend that you work your way top through bottom. However when you're already familiar with the basic working you can choose any part you with to learn more details or to refresh your memory:

  1. Getting started with MetNet pathways
  2. Organizing your pathways
  3. Classifying stuff: Organisms
  4. Classifying stuff: Subcellular compartmentalization
  5. Working with entities
Advanced topics
  1. Interacting with My MetNet user data
  2. Editing and submitting new data to MetNet
  3. Removing data from MetNetDB
  4. Custom pathway layout

The MetNet API is still under development. We greatly appreciate comments and feedback which can be sent to yves@iastate.edu.