ï»??xml version="1.0" encoding="utf-8" standalone="yes"?>国产亚洲欧美中文,污污的网站在线看,日韩精品视频在线播放 http://www.aygfsteel.com/andyj2ee/category/852.htmljava tec skyzh-cnThu, 01 Mar 2007 02:44:22 GMTThu, 01 Mar 2007 02:44:22 GMT60shark 工作‹¹å¼•擎新ç‰ÒŽ(gu¨©)€?handling Deadlineshttp://www.aygfsteel.com/andyj2ee/archive/2005/04/30/3978.htmljava光环java光环Sat, 30 Apr 2005 10:23:00 GMThttp://www.aygfsteel.com/andyj2ee/archive/2005/04/30/3978.htmlhttp://www.aygfsteel.com/andyj2ee/comments/3978.htmlhttp://www.aygfsteel.com/andyj2ee/archive/2005/04/30/3978.html#Feedback0http://www.aygfsteel.com/andyj2ee/comments/commentRss/3978.htmlhttp://www.aygfsteel.com/andyj2ee/services/trackbacks/3978.html
* Added new functionality of handling Deadlines.
  Shark now has defined client API, and its implementation 
for handling Activity deadlines.
  This API 
is supposed to be used by shark client to periodically ask shark to check deadines.
  Shark can be setup to re
-evaluate deadlines every time deadline check is performed,
  or to initially calculate deadline times and store it into DB, and when asked to
  check deadlines, deadline limit 
is retrieved from DB.
  Shark comes with an example XPDL processes contained 
in deadlineexamples.xpdl file,
  that shows ASYNC and SYNC deadline handling.

  In shark deadline expressions along with all process variables, you can use special variables called:

      
1. PROCESS_STARTED_TIME - the time when the process is started

      
2. ACTIVITY_ACTIVATED_TIME - the time when process flow comes to activity and
                                   assignments 
for the activity are created

      
3. ACTIVITY_ACCEPTED_TIME - the time when the first assignment for the activity is accepted

      NOTE: If activity 
is being rejected after its acceptance, or it is not accepted at all,
            the ACTIVITY_ACCEPTED_TIME 
is set to some maximum value in the future

   IMPORTANT:

      
- There shouldn't be process variables (DataField or FormalParameter entities from XPDL)
        that have the same Id as the one of previously listed - The Java type of these variables is java.util.Date.

      
- deadline expression result must be java.util.Date

      
- if shark is setup to not re-evaluate deadlines, but to initially evaluate
        deadline limit times, ACTIVITY_ACCEPTED_TIME should not be used 
in expressions
        because it will contain some maximum time 
in the future.

   When starting Shark CORBA server, it can be configured 
if it will open a thread for checking Deadlines.


java光环 2005-04-30 18:23 发表评论
]]>
shark 工作‹¹å¼•擎新ç‰ÒŽ(gu¨©)€§MailToolAgent http://www.aygfsteel.com/andyj2ee/archive/2005/04/30/3977.htmljava光环java光环Sat, 30 Apr 2005 10:19:00 GMThttp://www.aygfsteel.com/andyj2ee/archive/2005/04/30/3977.htmlhttp://www.aygfsteel.com/andyj2ee/comments/3977.htmlhttp://www.aygfsteel.com/andyj2ee/archive/2005/04/30/3977.html#Feedback0http://www.aygfsteel.com/andyj2ee/comments/commentRss/3977.htmlhttp://www.aygfsteel.com/andyj2ee/services/trackbacks/3977.html
* New MailToolAgent is included:

   
- in Shark.conf file you have some settings for MailToolAgent (in fact for the DefaultMailMessageHandler)

   
- when calling this tool agent, AppMode 0 means sending and 1 means receiving mail

   
- when calling this tool agent, AppName is the name of MailMessageHandler class to use.
     We have 
default implementation of this interface called DefaultMailMessageHandler which
     needs 
3 String IN parameters (destination address, mail subject and mail content) when sending mails,
     and 
1 OUT or INOUT type parameter (message subject) when receiving mails.
     The example of usage 
for this tool agent is in test-JavaScript.xpdl -> Mail Handling process.


java光环 2005-04-30 18:19 发表评论
]]>
shark 工作‹¹å¼•擎新ç‰ÒŽ(gu¨©)€?HistoryRelated assigmenthttp://www.aygfsteel.com/andyj2ee/archive/2005/04/30/3967.htmljava光环java光环Sat, 30 Apr 2005 06:16:00 GMThttp://www.aygfsteel.com/andyj2ee/archive/2005/04/30/3967.htmlhttp://www.aygfsteel.com/andyj2ee/comments/3967.htmlhttp://www.aygfsteel.com/andyj2ee/archive/2005/04/30/3967.html#Feedback0http://www.aygfsteel.com/andyj2ee/comments/commentRss/3967.htmlhttp://www.aygfsteel.com/andyj2ee/services/trackbacks/3967.htmlshark æ–°ç‰¹æ€§ï¼š(x¨¬)

* Included new HistoryRelated implementation of Assignment API - great contribution by Rich Robinson.
  You can use it by commenting standard AssignmentManager and uncommenting HistoryRelated assignment
  manager entries 
in Shark.conf (if you are configuring shark this way), and test it with
  Publish Document proces from test
-JavaScript.xpdl.

I've attached the latest HistoryRelatedAssignmentManager class and also an updated
version of test-JavaScript.xpdl.

The class now supports the following extended attributes (the names of which
can be redefined in Shark.conf):

* ReassignToOriginalPerformer
* ReassignToOriginalPerformer
* DoNotAssignToPerformerOfActivity

As mentioned in the comments, one of each extended attribute should be
associated with any single activity definition.  If anybody wishes to
extend/modify this class in any way, one obvious improvment would be to allow
multiple copies of each extended attribute to be assigned to a single 
activity.
I would ideally have liked to do this, but I don't need such functionality at
the moment, and unfortunately don't have any more time to spend on it.

In order to get the class working, the following properties need to be 
specified
in Shark.conf:

#
# HistoryRelated assigment manager
#
AssignmentManagerClassName
=org.enhydra.shark.assignment.HistoryRelatedAssignmentManager
HistoryRelatedAssignmentManager.username
=admin
HistoryRelatedAssignmentManager.password
=enhydra
HistoryRelatedAssignmentManager.extAttrReassignToOriginalPerformer
=ReassignToOriginalPerformer
HistoryRelatedAssignmentManager.extAttrAssignToPerformerOfActivity
=AssignToPerformerOfActivity
HistoryRelatedAssignmentManager.extAttrDoNotAssignToPerformerOfActivity
=DoNotAssignToPerformerOfActivity
The XPDL example is a "publish document" process that describes the workflow that may occur when publishing a web-based document. Note that in the following, a question mark represents either "1" or "2" depending on which moderator we are referring to: * Initially, an author creates a document and submits it to two moderators. The "DoNotAssignToPerformerOfActivity" ext attrib is used for each moderate_document_? activity to ensure that two different moderators moderate the document and that the same moderator cannot moderate it twice. * Each moderator moderates the document and says whether or not it is ok by setting the values of the moderate_?_ok WRD. If OK, the moderator then has to submit the document. Note that the AssignToPerformerOfActivity ext attrib is used to ensure that the moderator who moderated the document is assigned the appropriate submit_document_? activity. * If either moderator rejects the document, then the author has to update it. Again, we use the AssignToPerformerOfActivity ext attrib to ensure that the author who originally created the document has to update it. * When updated, the author has to re-submit the document using the same submit_document activity. We use the ReassignToOriginalPerformer ext attrib to ensure that the author who resubmits the document is the same author that originally submitted it. * Finally, when both the moderators are happy with the document, a publisher reviews it (if he rejects it, we head back to "update document" - in exactly the same way as if a moderator rejects it). When the publisher is happy with the document, he publishes it. We use the AssignToPerformerOfActivity ext attrib to ensure that the publisher who publishes the document is the same publisher that reviewed it. That's it... I've tested both the class and the XPDL to some extent, but both could do with some more testing if anybody would like to do it. Let me know if you have any questions.


java光环 2005-04-30 14:16 发表评论
]]>
Integrating workflow engines with other system moduleshttp://www.aygfsteel.com/andyj2ee/archive/2005/04/28/3894.htmljava光环java光环Thu, 28 Apr 2005 10:49:00 GMThttp://www.aygfsteel.com/andyj2ee/archive/2005/04/28/3894.htmlhttp://www.aygfsteel.com/andyj2ee/comments/3894.htmlhttp://www.aygfsteel.com/andyj2ee/archive/2005/04/28/3894.html#Feedback0http://www.aygfsteel.com/andyj2ee/comments/commentRss/3894.htmlhttp://www.aygfsteel.com/andyj2ee/services/trackbacks/3894.htmlHi all,

This is probably a newbie question so please be tolerant :-)

I am involved in the development of a system that has a business process management component. The system is based on Spring, Hibernate and Web Work 2. The question is, out of all those available BPM engines, which ones can easily be integrated into other infrastructures? My first impression is that BPM engines designed to be the infrastructure itself, so that functions such as data access, business logic and user interface are specified around it. As opposed to using another infrastructure (in our case, Spring + Hibernate + Web Work) where the BPM engine is merely a component.

Is this distinction real? Should BPM engines logically be the center-piece of the system? Or am I grossly misunderstanding the issues?


--->

I feel that the best way to use a Workflow/BPM system is as a database is : something external that you access with some system users.

Sometimes an embedded workflow engine is necessary, but in this case, the application that embeds should dictate the infrastructure

--->

I think it should be implemented as an aspect

I have implemented a workflow engine before. I made it completely independent of the business objects etc. However, I had to modify business facades to call into the workflow engine; for example, to start a new process for a new request. At this point, I am thinking of doing it as an aspect in Spring, and I believe this will work out nicely.

--->

I am currently building a project using Struts, Spring and Hibernate with OSWorkflow. The current development build (2.8) has built-in support for a Spring / Hibernate environment. In this case, performing an action in the workflow can check against a set of pre-conditions, which can refer to logic in the business layer and can then call some functions if the conditions hold, which can also refer to business logic. This is nice because Spring deals with the dependencies for the conditions and functions. The end result is my business logic is protected by the workflow engine, which prevents any action being performed in the wrong stage of the process.

The only downside of OSWorkflow is that you have to call the workflow action by passing the action's id (an int) and a map of all the inputs to the engine. I'm getting around this by writing an abstraction layer that provides nice method signatures (the business facade) for my struts actions (or any other client). These methods will map to an action id, take all the arguments from the signature and wrap them in a map and call the action.

I hope this is helpful.

Adam

http://www.manageability.org/blog/stuff/workflow_in_java/view



java光环 2005-04-28 18:49 发表评论
]]>
工作‹¹å¼•擎Shark配置http://www.aygfsteel.com/andyj2ee/archive/2005/04/22/3605.htmljava光环java光环Fri, 22 Apr 2005 03:37:00 GMThttp://www.aygfsteel.com/andyj2ee/archive/2005/04/22/3605.htmlhttp://www.aygfsteel.com/andyj2ee/comments/3605.htmlhttp://www.aygfsteel.com/andyj2ee/archive/2005/04/22/3605.html#Feedback0http://www.aygfsteel.com/andyj2ee/comments/commentRss/3605.htmlhttp://www.aygfsteel.com/andyj2ee/services/trackbacks/3605.html

 å¦‚果在Shark中未定义½E‹åºæ˜ å°„åQŒSharkž®†è°ƒç”¨é»˜è®¤çš„ToolAgentåQŒåœ¨Shark.conf中可定义åQ?/P>

RuntimeApplicationToolAgent可执行其它外部程序,比如notepad½{‰ï¼Œæ­¤æ—¶åQŒä¼ å…¥çš„application mode如果ä¸?åQŒåˆ™Sharkä¼?x¨¬)等待应用程序的执行¾l“束åQ›å¦‚果不ä¸?åQŒåˆ™Shark在应用程序开始后ä¼?x¨¬)ç‘ô¾l­æµ½E‹çš„处理åQ?/P>

JavaScriptToolAgent可用于执行JavaScriptåQŒapplication modeä¸?åQŒåˆ™¾pȝ»Ÿž®†æœç´¢åä¸ºapplicationName的文ä»Óž¼Œæ‰§è¡ŒåQ?



java光环 2005-04-22 11:37 发表评论
]]>
工作‹¹æ–¹é¢çš„知识http://www.aygfsteel.com/andyj2ee/archive/2005/02/25/1499.htmljava光环java光环Fri, 25 Feb 2005 04:13:00 GMThttp://www.aygfsteel.com/andyj2ee/archive/2005/02/25/1499.htmlhttp://www.aygfsteel.com/andyj2ee/comments/1499.htmlhttp://www.aygfsteel.com/andyj2ee/archive/2005/02/25/1499.html#Feedback2http://www.aygfsteel.com/andyj2ee/comments/commentRss/1499.htmlhttp://www.aygfsteel.com/andyj2ee/services/trackbacks/1499.html 工作‹¹æ–¹é¢çš„知识早在两年前关注过åQŒåŽŸæœ¬åªæ˜¯è§„èŒƒæ–‡æ¡£çš„åQŒçŽ°åœ¨å·²æœ‰åŠŸèƒ½å®žçŽîCº†ã€?br>
看下面的资源åQ?br> 工作‹¹å¼•擎实玎ͼš(x¨¬)[shark]
http://forge.objectweb.org/projects/shark/
工作‹¹å›¾å½¢ç¼–è¾‘å·¥å…øP¼š(x¨¬)[jawe]
http://forge.objectweb.org/projects/jawe/

Enhydra Shark is a workflow server with a difference. Shark is completely based on standards from WfMC and OMG using XPDL as its native workflow definition language. The Shark framework can be configured to support different environments.
------------

Enhydra JaWE is a graphical Java Workflow Editor according to WfMC specifications supporting XPDL as its native file format. JaWE can be used to edit workflow definitions for Enhydra Shark or every other XPDL conformant Workflow server.





java光环 2005-02-25 12:13 发表评论
]]>
Ö÷Õ¾Ö©Öë³ØÄ£°å£º ²ý½­| ¹§³Ç| ¾²ÄþÏØ| ĵµ¤½­ÊÐ| ³£ÊìÊÐ| ãôÑôÏØ| Ñ·¿ËÏØ| ÁÖÖ¥ÏØ| ÁÙÏæÊÐ| ÎÂÈªÏØ| Ð˺ÍÏØ| Èð½ðÊÐ| °²Í¼ÏØ| ¹þ¶û±õÊÐ| ÈêÄÏÏØ| ÎÚÀ¼ºÆÌØÊÐ| °¢°Ó| ÆÕ¶¨ÏØ| ³±ÖÝÊÐ| ¶«·½ÊÐ| ¸¢ÁêÇø| °²»ÕÊ¡| °¢À­ÉÆÃË| Í»ÈªÏØ| Âí±ß| °àÂêÏØ| ÏØ¼¶ÊÐ| ÐÂÖ£ÊÐ| ׯºÓÊÐ| ÚöáÁÊÐ| ³ÐµÂÊÐ| Â«É½ÏØ| ¸·³ÇÏØ| ·î½ÚÏØ| Ð˳ÇÊÐ| ÓݳÇÏØ| ƽ¶¥É½ÊÐ| ²ìÑÅÏØ| ¿Æ¼¼| ºÚÉ½ÏØ| ÇåºÓÏØ|