[Biojava-l] library for running blast and formatdb

Thomas Down td2@sanger.ac.uk
Tue, 14 Jan 2003 09:56:26 +0000


On Tue, Jan 14, 2003 at 09:40:02AM +1300, Schreiber, Mark wrote:
> I notice there is a Object call AppBeanRunner that appears to make an
> object from an XML file then instantiate it. Is it intended for the type
> of activity below or something else?

Possibly.  The AppBean stuff is very simple, rather generic:

   <bean jclass="org.example.Foo">
     <string name="hello" value="Boo!" />
     <boolean name="isTesting" value="true" />
     <bean name="bar" jclass="org.example.Bar">
       <int name="prop1" value="42" />
       <set name="messages">
         <string value="Hello" />
         <string value="Goodbye" />
       </set>
     </bean>
   </bean>

It's something I wrote a *long* time ago, and use as a quick'n'dirty
way of configuring some of my applications.  The two you might have
come across are the Eponine trainer and Dazzle DAS server.  As I say,
it's quite old, and I'm not that happy about the format (although
I've not seen anything similar which handles collections so nicely).

I don't think I'd really advise it for new projects unless you either
like it, or need something that works very quickly.  SOAP-ENC probably
makes more sense these days.

    Thomas.