|
Hi all,
let me answer some of your questions about Enhydra
Shark project:
<Edvard Flick>
OK, I have one question regarding this. Where
is the interface to query a process. I know you can get a full list but
in a production environment, it would be nice to be able to specify a query,
and have it come up with all the relevant processes. </Edvard
Flick>
<Sasa>
The interface for querying the processes exists,
but currently Shark Admin uses it only to retrieve all instantiated processes
for some process definition.
You can retrieve the whole list of WfProcessMgr
objects (that represent Process definitions) by calling the method
WorkflowClientService.get_sequence_processmgr(0), or you can retrieve just the
WfProcessMgr objects for the packages you want. To do that, you have to get the
process mgr iterator by calling WorkflowClientService.get_iterator_processmgr()
method. Then you set the proper query _expression_ on iterator object
WfProcessMgrIterator.set_query_expression(QExpr) using Java language syntax for
_expression_ (i.e. if you want to retrieve definitions from package with
id="test", you set the query _expression_ to be: packageId.equals(\"test\")).
After you get wanted WfProcessMgr objects, you can
repeat the same process on these objects to get the instantiated processes that
you want: call WfProcessMgr.get_iterator_process(), set the proper query
_expression_ on WfProcessIterator object (i.e. _expression_ can be: priority>2
&& state.equals(\"open.not_running.suspended\")).
</Sasa>
<Mahan>
I am very interested in knowing more about Enhydra
Shark, but never used JaWE. Is there any quick overview of JaWE or
Shark? </Mahan>
<Sasa>
If you downloaded JaWE, you can start it and get
Tutorial and Manual using Help menu. Also, you have online tutorial and manual,
but without pictures at http://forge.objectweb.org/docman/?group_id=50 .
I recommend that you download JaWE, start it, and read help.
Also, for the Shark, there are only a few
documents, and they can be found (when you install Shark) in doc folder of
binary distribution, or in the input/doc folder of source
distribution.
</Sasa>
<Tom>
There is a problem with the db design. I am
trying to use Oracle 9i r2 as the storage and am running into problems with
reserved words in the table definitions. Assignments --> Resource is a
reserved word. So far the others are going thru but this one will
not. </Tom>
<Sasa>
Sorry, we were initially constructed tables to be
used by InstantDB and QED, and we didn't pay attention to Oracle. This will
surly be changed in the next release (and probably before that, you will be able
to get changes from CVS).
</Sasa>
Please post the questions about the Shark to the
Shark's mailing list (shark@xxxxxxxxxxx).
Thanks !
Greetings,
Sasa.
|