The Feature Client

There is a number of moby clients already available in the distribution of BioMoby. This client extends the existing clients by providing some features which helps to work with jMoby and Moby web services with no knowledge of the internal jMoby API.
So first have a look at the features which the client does provide: Some of these features are already existing in the current clients but this client packs them together and enables an easy use of the different features.

A fully working example of the client can be viewed in the JABBA application

Building the Feature Client

Assuming you have already checked out the jMoby project (if not have a look here) just type:
ant bindist-featureClient
/moby-live/Java/ bindist-featureClient (on an UNIX machine)
/moby-live/Java/build.bat bindist-featureClient (on a Windows machine)
This will build the FeatureClient and you will find it at
You can copy the file to any directory of your choice and unpack it. This wil generate a featureClient folder with the jar and the libraries inside.

Running / Using the Feature Client

Basically you have two possibilities you can do with the Featuer Client: In the latter case just ensure to have the FeatureClient.jar and the jars from the lib folder in your CLASSPATH. How to use the client in detail can be discovered if you look at the source code from the examples at moby-live/Java/src/main/de/mpg/mpiz_koeln/pcb/featureClient/test and in the javadoc.

Running the examples

The following test programs are available to see how the client works. You can call one of them by using
java -jar FeatureClient.jar < OPTION >
where option can be one of the following:
  1. SimpleSingleCall (calls one service once (maps an refseq identifier to an AGI locus code) )
  2. SimpleMultiCall (calls one service more than once (returns go information for a go term) )
  3. SingleCallDefinition (calls more services once which return for an AGI locus code pubmed ids)
  4. SingleCallWithParameters (calls one service once with parameters (to get orthologs from RefSeq)
  5. SingleMultiServiceCall (calls two services once (get publications for AGI locus code)
  6. ComplexSingleCall (calls one service once with a complex dataype (returns a protein sequence from a sequence
  7. MultCallByDefinition (calls more services more often which return for an AGI locus code mapman bins
  8. MultiCallWithParameters (calls one service more often with parameters (to get orthologs from RefSeq)
This shall give an impression what is possible with the client !
Andreas Groscurth
Last modified: Tue May 17 15:38:07 2005