Re: Re: Re: Integration with Drools rule engine

Ajai <[email protected]> Mon, 7 Sep 2009 09:29:52 -0700 (PDT)
Newsgroups gmane.comp.java.enhydra.shark
Message-ID <[email protected]>
This is a multi-part message in MIME format...

------------=_1252340997-18930-3629
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


Thanks a lot for your greatest support. :-)

Expecting the same in future.

Thanks again,
Ajai G


Sasa Bojanic wrote:
> 
> Hi,
> 
> - you can create new XPDL with your tool (e.g. JaWE), and then deploy it 
> while shark runs using a certain API. There is also an API for XPDL 
> update or unload...
> 
> - depends what you think by this...in its essential, shark is a 
> library...and you can do whatever you like to integrate it with your 
> system either through modeling XPDL, through the API, or by combining
> both.
> Regarding e.g. delayed generation of the assignments for the users (not 
> to create assignments at a time activity instance is being created), you 
> can modify Standard assignment allocation component or write your own 
> (since this is based on Shark's internal API) and configure shark to use 
> it, which will generate assignments with some delay.
> We have integration of Shark's task list with Outlook (you can see tasks 
> from Shark in outlook, modify it, complete it)...but this is 
> professional version only
> 
> - shark has full auditing support. every action regarding process, 
> activity is audited (e.g. who and when 
> created/started/suspended/resumed/aborted/completed the process, who and 
> when changed process variable...similar and some more for the activity)
> 
> Greetings,
> Sasa.
> 
> Ajai wrote:
>> Hi Sasa,
>>
>> Thanks a lot for the support and guidance you provided.
>>
>> One question i have now is 
>>
>> can we create and deploy a process dynamically using API in shark?
>>
>> What level of support is available for Integration with
>> Calendaring/Scheduling?
>>
>> Is there a auditing support?
>>
>> Thanks,
>> Ajai G
>>
>>
>> sasaboy wrote:
>>   
>>> Hi,
>>>
>>> 1. I've already written in previous post that shark can expose its API 
>>> through the WebServices, and thus it allows you to get all the possible 
>>> definitions (in fact factories that represent certain definition in the 
>>> runtime) and to instantiate the process based on the chosen definition
>>>
>>> 2. If you mean compensation that can be modeled in designed time, yes, 
>>> in
>>> XPDL you can do such things. In the runtime, shark has fully
>>> transactional behavior (through JTA and 2phase commit) - either
>>> everything belonging to a transaction succeeds and gets commited to DB, 
>>> or everything is rolled back. Thanks to JTA, you can have your
>>> application which integrates shark as POJO talking to its own
>>> application DB and Shark talking to its database, and if anything fails 
>>> on your app DB side or on the shark side, both app and shark DB state 
>>> will be rolled back.
>>>
>>> 3. Process instance can be SUSPENDED and then RESUMED (the same applies 
>>> to activity instances)
>>>
>>> 4. Don't know what you meant by that? If you mean to wait for some 
>>> external event to continue, then yes, but this is up to the
>>> implementation of appropriate automatic activity (so called ToolAgent 
>>> implementation)...
>>>
>>>
>>> Greetings,
>>> Sasa.
>>>
>>> Ajai wrote:
>>>     
>>>> Hi Sasa,
>>>> Thanks a lot for the response.
>>>> I need some more details regarding Shark to complete our evaluation. 1.
>>>>       
>>> Can a process definition be exposed as a service
>>>     
>>>> 2. Is there a Process compensation (Process roll back/Exception
>>>>       
>>> handling)
>>>     
>>>> 3. Can a process instance be stopped and resumed again.
>>>> 4. Can a process be made wait asynchronously.
>>>> Thanks again for the response,
>>>> Regards
>>>> Ajai G
>>>> Sasa Bojanic wrote:
>>>>
>>>>       
>>>>> Hi,
>>>>> I think the integration with Drools shouldn't be a problem. The
>>>>>         
>>> question
>>>     
>>>>> is for which purpose you want to integrate it?
>>>>> If it is for evaluating of transition condition expressions, you can 
>>>>>         
>>> just write your own Scripting interface implementation...
>>>     
>>>>> About other questions:
>>>>> 1. the definitions are versioned. E.g., when you update XPDL existing
>>>>>         
>>> in
>>>     
>>>>> the system (which can contain of many process definitions), the new 
>>>>>         
>>> definition (its representation in the runtime) gets new version.
>>> Process
>>>     
>>>>> instances running on old definitions continue running with the old
>>>>> one,
>>>>>         
>>>>> and newly created processes run on new definitions.
>>>>> 2. Yes, you can communicate with Shark through Shark's WebServices API
>>>>>         
>>> 3. Yes, inside the process, there can be tool agent (automatic)
>>> activity
>>>     
>>>>> which can interact with WebServices, get some information, put it back 
>>>>>         
>>> into the process and continue with the process
>>>     
>>>>> 4. Yes
>>>>> 5. Shark is typically embedded into your application (when you use it 
>>>>>         
>>> through its POJO API), and in that case authorization is something you 
>>> do within your application. However, shark has Security interface (we 
>>> normally configure shark not to use it, and we have only dummy 
>>> implementation of this interface), and if you provide the custom 
>>> implementation of this interface, you can do authorization.
>>>     
>>>>> 6. This is of course supported (we completely support XPDL1.0). You
>>>>> can
>>>>>         
>>>>> call sub-flow from the main flow either synchronously (where main flow 
>>>>>         
>>> initiates sub flow by passing certain information, waits for sub flow
>>> to
>>>     
>>>>> finish, gets back the results of the sub flow and then continues) or 
>>>>>         
>>> asynchronously (where main flow initiates sub flow and passes
>>>     
>>>>> information to sub flow, and continues immediately without waiting sub
>>>>>         
>>> flow)
>>>     
>>>>> Regards,
>>>>> Sasa.
>>>>> Ajai wrote:
>>>>>
>>>>>         
>>>>>> Hi,
>>>>>> We are in the process of evaluating a Workflow engine that can be
>>>>>>           
>>> integrated
>>>     
>>>>>> with Drools rule engine. Can Enhydra shark be integrated with Drools
>>>>>>           
>>> rule
>>>     
>>>>>> engine.
>>>>>> Also please tell us the following features are available:
>>>>>> 1. versioning of process definition
>>>>>> 2. Can web service act as a input
>>>>>> 3. Can  Web service be actor in process
>>>>>> 4. Process steps can be assigned to Roles, and User in Roles
>>>>>> 5. Authorization mechanism.
>>>>>> 6. Creating a sub flow from a main flow.
>>>>>> Please let us know the inputs.
>>>>>> Thanks in advance
>>>>>> Regards
>>>>>> Ajai G
>>>>>>
>>>>>>
>>>>>>           
>>>>> --
>>>>> 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
>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>
>>>>>         
>>>
>>>
>>>
>>>
>>>
>>>
>>> --
>>> 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
>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>
>>>
>>>     
>>
>>   
> 
> 
> 
> --
> 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
> OW2 mailing lists service home page: http://www.ow2.org/wws
> 
> 

-- 
View this message in context: http://www.nabble.com/Re%3A-Re%3A-Integration-with-Drools-rule-engine-tp25326739p25333064.html
Sent from the Enhydra Shark mailing list archive at Nabble.com.


------------=_1252340997-18930-3629
Content-Type: text/plain; charset="UTF-8"; name="message-footer.txt"
Content-Disposition: inline; filename="message-footer.txt"
Content-Transfer-Encoding: quoted-printable


--
You receive this message as a subscriber of the [email protected] mailing lis=
t.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=3Dhelp
OW2 mailing lists service home page: http://www.ow2.org/wws

------------=_1252340997-18930-3629--