IPC분류정보
국가/구분 |
United States(US) Patent
등록
|
국제특허분류(IPC7판) |
|
출원번호 |
US-0204971
(1998-12-03)
|
발명자
/ 주소 |
- Ehnebuske,David Lars
- McKee,Barbara Jane Alspach
- Palmer,Stewart Laundon
- Rayfield,James Thomas
- Rouvellou,Isabelle Marie Catherine
- Simmonds,Ian David
|
출원인 / 주소 |
- International Business Machines Corporation
|
인용정보 |
피인용 횟수 :
2 인용 특허 :
26 |
초록
▼
A method and apparatus for performing general integrity checks using rules in an application running on a data processing system. A point is identified at which a unit of work is to complete. The unit of work includes a plurality of participants. Responsive to determining that the unit of work is t
A method and apparatus for performing general integrity checks using rules in an application running on a data processing system. A point is identified at which a unit of work is to complete. The unit of work includes a plurality of participants. Responsive to determining that the unit of work is to complete, rules associated with each participant in the unit of work are obtained. Responsive to obtaining the rules, the rules obtained for each of the participants are run. Responsive to running the rules, the general integrity of the application state with respect to the unit of work is determined. Responsive to determining the general integrity of the application state, the unit of work is completed by committing it or aborting it.
대표청구항
▼
What is claimed is: 1. A method for performing general integrity checks using rules in an application running on a data processing system comprising: identifying a point in a unit of work where application state integrity is to be verified, wherein the unit of work includes a plurality of participa
What is claimed is: 1. A method for performing general integrity checks using rules in an application running on a data processing system comprising: identifying a point in a unit of work where application state integrity is to be verified, wherein the unit of work includes a plurality of participants; responsive to determining that the unit of work is to be completed, obtaining rules associated with each participant in the unit of work; and responsive to obtaining the rules, running the rules obtained for each of the participants to verify the integrity of an application state, according to the plurality of participants. 2. The method of claim 1, further comprising: responsive to a negative result obtained by running the rules, aborting the unit of work. 3. The method of claim 1, further comprising: responsive to a positive result obtained by running the rules, committing the unit of work. 4. The method of claim 1, wherein each participant is associated with a name and wherein the step of obtaining rules associated with each participant in the unit of work comprises obtaining rules based on the name associated with the participant. 5. The method of claim 4, wherein the plurality of participants are a plurality of objects and wherein the name associated with an object within the plurality of objects is the class name of a participating object. 6. The method of claim 1, wherein each participant is associated with a name, wherein the unit of work is associated with a type, and wherein the step of obtaining rules associated with each participant in the unit of work comprises obtaining rules based on the name associated with the participant and the type associated with the with of work. 7. The method of claim 1, wherein at least zero integrity checking rules are associated with each participant within the plurality of participants. 8. A method in a data processing system for performing general integrity checks using rules, the method comprising: detecting a commit for a unit of work; identifying participants in the unit of work in response to detecting the commit for the unit of work; determining whether rules are present for the participants in the unit of work; running the rules for participants identified as having at least one rule; determining whether a violation of an integrity rule within the rules identified for any participant has occurred; and committing the unit of work depending on the results of running the rules. 9. The method of claim 8 further comprising: aborting completion of processing by the unit of work in response to a determination that a violation of a rule has occurred; and committing completion of processing by the unit of work in response to a determination that no violation of a rule has occurred. 10. The method of claim 8, wherein each participant has zero or more rules associated therewith. 11. The method of claim 8, wherein each rule associated with a unit of work has available for use each participant within the unit of work. 12. An enterprise application on a computer readable medium executing on a computer, the enterprise application comprising: a unit of work, wherein the unit of work accumulates participants that affect a state of the enterprise application; a plurality of business rules, wherein the plurality of rules are used to verify the integrity of the application state; and a unit of work control point, wherein the unit of work control point locates applicable rules for participants in response to an activation of the unit of work to complete processing of the unit of work. 13. The enterprise application of claim 12, wherein the activation of the unit of work control point for the unit of work is initiated by a commit instruction to the unit of work. 14. The enterprise application of claim 12, wherein the control point identifies applicable rules for all of the participants in the unit of work. 15. The enterprise application of claim 12, wherein the control point applies applicable rules to a portion of the participants in the unit of work. 16. The enterprise application of claim 12, wherein the applicable rules are identified based on a name associated with the participant. 17. The enterprise application of claim 12, the participant is an object and wherein the name is the class name of the participating object. 18. The enterprise application of claim 17, wherein the unit of work is associated with a type and wherein the applicable rules also are identified based on the type associated with the unit of work. 19. A data processing system for performing general integrity checks using rules in an application on a computer readable medium executing on a computer, the data processing system comprising: identifying means for identifying a point in a unit of work where application state integrity is to be verified, wherein the unit of work includes a plurality of participants; first obtaining means, responsive to determining that the unit of work is to be completed, for obtaining rules associated with each participant in the unit of work; and second obtaining means, responsive to obtaining the rules, for running the rules obtained for each of the participants to verify the integrity of the system, according to the plurality of participants. 20. The data processing system of claim 19, further comprising: aborting means, responsive to a negative result obtained by running the rules, for aborting the unit of work. 21. The data processing system of claim 19, further comprising: committing means, responsive to a positive result obtained by running the rules, for committing the unit of work. 22. A data process system for performing general integrity checks using rules, the data processing system comprising: a computer readable medium executing on a computer comprising: detecting means for detecting a commit for a unit of work; identifying means for identifying participant in the unit of work in response to detecting the commit for the unit of work; first determining means for determining whether riles are present for the participants in the unit of work; running means for running the rules for participants identified as having at least one rule; second determining means for determining whether a violation of an integrity rule within the rules identified for any participant has occurred; and committing means for committing the unit of work depending on the results of running the rules. 23. The data processing system of claim 22 further comprising: aborting means for aborting completion of processing by the unit of work in response to a determination that a violation of a rule has occurred; and committing means for committing completion of processing by the unit of work in response to a determination that no violation of a rule has occurred. 24. The data processing system of claim 22, wherein each participant has zero or more rules associated therewith. 25. A computer readable medium having computer readable instructions executing on a computer for performing general integrity checks using rules in an application comprising: first instructions for identifying a point in a unit of work where application state integrity is to be verified, wherein the unit of work includes a plurality of participants; second instructions for responsive to determining that the unit of work is to be completed, obtaining rules associated with each participant in the unit of work; and third instructions for responsive to obtaining the rules, running the rules obtained for each of the participants to verifying the integrity of the system, according to the plurality of participants. 26. The computer readable media of claim 25, further comprising: first instructions for responsive to a negative result obtained by running the rules, aborting the unit of work. 27. The computer readable media of claim 25, further comprising: first instructions for responsive to a positive result obtained by running the rules, committing the unit of work. 28. A computer readable medium having computer readable instructions executing on a computer for performing general integrity checks using rules, comprising: first instructions for detecting a commit for a unit of work; second instructions for identifying participants in the unit of work in response to detecting the commit for the unit of work; third instructions for deter whether rules are present for the participants in the unit of work; fourth instructions for running the rules for participants identified as having at least one rule; fifth instructions for determining whether a violation of an integrity rule within the rules identified for any participant has occurred; and sixth instructions for committing the unit of work depending on the results of running the rules. 29. The computer readable media of claim 28 further comprising: first instructions for aborting completion of processing by the unit of work in response to a determination that a violation of a rule has occurred; and second instructions for committing completion of processing by the unit of work in response to a determination that no violation of a rule has occurred.
※ AI-Helper는 부적절한 답변을 할 수 있습니다.