Re: class implemented external reference datatype persistence

Peter Niederlag <[email protected]>
Newsgroups gmane.comp.java.enhydra.shark
Message-ID <[email protected]>
Hi,

delbd schrieb:
> Hello,
> 
> Can someone tell me how persistence is managed for workflow relevent datas
> which are handled as external datatypes, implemented as .class files? Do
> I need to make the class Serializable/Externalizable? Is there a maximum payload size
> for the datatype (will i run into problems if i create a datatype weighting about 10M?) 

I think the 'testWRD.xpdl' provides a useful example how to deal with
custom datatypes. You can have a look at the implementations for the
classes in 'lib/engine/wrd.jar'.

public class Foo implements Serializable, Cloneable {

}

If i remember correctly you are advised *not* to put a lot of payload
into these dataypes and rather use pointers to external ressources(for
example files).

HtH,
Peter
-- 
Peter Niederlag * Neuer Sandberg 9 * 31535 Neustadt *
Fon 05036/924100 * Fax 05036/924105
http://www.niekom.de * TYPO3 und EDV Dienstleistungen *
http://www.clown-goli.de * Clown-Comedy-Jonglage-Animation *
message-footer.txt (text/plain, 271 B)
--
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.