Re: Starting Shark from a Java app
[email protected] Thu, 22 Sep 2005 21:36:01 -0400
| Newsgroups | gmane.comp.java.enhydra.shark |
|---|---|
| Message-ID | <OFF77F2D10.4B488C69-ON85257085.0007B93D-85257085.0008CAE6@intellicare.com> |
[email protected] wrote on 09/22/2005 08:12:34 PM: > Hi all, > > I'm new with Shark and trying to run it from my Java application. Do > you have some example on how can I do it? > I need to run Shark and made it read a really simple XPDL file. Melissa, have you looked at the code here: http://shark.objectweb.org/doc/1.1/HowTo/how_to.html#d0e172 What you want to do is follow these steps: configure shark (if you are using hsqldb then just use the shark.conf as-is (at least to begin with), otherwise you have to configure shark to use your database then read the "Configure shark" section here: http://shark.objectweb.org/doc/sfs/sharkfromscratch1appendix.html), then load your xpdl into shark (Example 3 in How-To link above), then create and start a process instance (example 4 in How-To link above) Then > I should be able to call some Applications to handle the workflow processes. For this you need to look at tool-agents: http://shark.objectweb.org/doc/1.1/ToolAgents/tool_agents.html > I tried some of the Shark demo codes but they all seem to be more > complex than what I need. > Can anyone help me or just point me a way to do it? > > Thanks in advance, > Melissa > Write back if you need more help with this. Shark is a bit difficult to start with but once you understand it, it is quite intuitive and a great piece of software..:) Hth, Geeta
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