Hi Eric,

You're right -- the datastream ID functionality is scheduled.  It will be available in the fall release (2.0). 

Your alternative idea is definitely not deranged!  There is a way to create a behavior definition and mechanism that will just have the functionality of delivering the bound datastream as-is.  See "Simple Image Demo" under "Local Server Demos" in the demo guide at http://www.fedora.info/release/1.2.1/userdocs/distribution/demos.html

There is currently not a step-by-step guide to creating the different kinds of behaviors and hooking them up to services, but that is also coming.  The best you can do for the time being is to look at the demo objects (the guide and the METS xml).  Also, the source code for some simple services is included with the source distribution in src/java/fedora/localservices/ . . . that may help, too.

- Chris

-----Original Message-----
From: fedora-users-bounces@comm.nsdl.org on behalf of Eric Jansson
Sent: Mon 6/28/2004 12:01 PM
To: fedora-users@comm.nsdl.org
Subject: [Fedora-users] fedora questions: datastream IDs and coding custombehavior

We are currently developing a web-based application in Java for management of
digital object collections, and are building it on top of services exposed by
Fedora.  We are using the SOAP interfaces for all Fedora communications.

We have had some questions about accessing datastreams that are reminiscent of
past discussions on fedora-users:

* we have realized that being able to assign an ID to datastreams would be
helpful for using the getDissemination method of API-A; it would allow for using
the getItem() method of the default disseminator (currently, fedora-system:3) to
request a particular datastream.  In some past discussions, I saw that this
functionality was scheduled--is that accurate, and if so, is there a target

* an alternative way to get a particular datastream without an dsID is to bind a
datastream to a particular behavior, and publish that dissemination (right?).
That way, we just use the getDissemination() method of API-A to request the
datastream without having to send in a dsIDs since it has been bound ahead of
time.  Is this possible / correct (deranged)? 

* can anyone offer pointers on what it takes to write some behavior (say, as a
Java servlet) and declare and intergrate the bDef and bMech objects in Fedora.
I'm very curious how easy or difficult it is to start declaring and writing your
own behavior as Fedora objects, but have found almost no documentation on this.

Thanks in advance for any assistance!

Eric Jansson
ACS Technology Center

Fedora-users mailing list