CN102508672A - Method for graphical configuration and execution of java - Google Patents

Method for graphical configuration and execution of java Download PDF

Info

Publication number
CN102508672A
CN102508672A CN201110394877XA CN201110394877A CN102508672A CN 102508672 A CN102508672 A CN 102508672A CN 201110394877X A CN201110394877X A CN 201110394877XA CN 201110394877 A CN201110394877 A CN 201110394877A CN 102508672 A CN102508672 A CN 102508672A
Authority
CN
China
Prior art keywords
node
attribute
business stream
carried out
java
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201110394877XA
Other languages
Chinese (zh)
Inventor
韦忠福
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Founder International Co Ltd
Original Assignee
Founder International Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Founder International Co Ltd filed Critical Founder International Co Ltd
Priority to CN201110394877XA priority Critical patent/CN102508672A/en
Publication of CN102508672A publication Critical patent/CN102508672A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a method for graphical configuration and execution of java and belongs to the field of computer software systems. In the prior art, an ordinary application software system can access back-end operations, such as calling of a java method, execution of a sql (structured query language) statement, short message sending of a mail and calling of a webservice, through a variety of ways. The invention provides a graphical way for arranging the calling of various background business components for forming a new business component and realizing a new business function. By adopting the method disclosed by the invention, business visualization can be realized, communication and realization of business demands are facilitated, and fast response to changes in the demands can be further achieved.

Description

The method of java is carried out in graphical configuration
Technical field
The invention belongs to the computer software field, be specifically related to the method that java is carried out in a kind of graphical configuration.
Background technology
In the computer software, hard coded is realized business processing process, operation flow language BPEL and BPMN, and (Business Process Modeling Notation BPMN) is widely used in modern times.BPEL is a form specification language that is used for the robotization operation flow, and the flow process that writes among the BPEL with XML document can obtain well-organized with standardized interactive mode between Web service.These flow processs can be carried out on any one meets platform or the product of BPEL standard.So, between various authoring tools and execution platform, moving these flow processs through allowing clients, BPEL makes them protect their investment on process automation.Although wanted to make operation flow definition standardization in the past, BPEL has caused beyond example interest, and it obtains a large amount of approvals in software vendor.
The main target of BPMN provides some symbols of being understood easily by all service-users, and final user's management and monitoring is known in the realization from the business diagnosis of visioning procedure profile to these flow processs.BPMN also supports to provide the model of an inside can generate executable BPEL4WS.But in program development process, hard coded is realized the low and easy care not of business processing realization process efficient.And can only carry out layout to webservice based on the operation flow product of BPEL, can not be used to develop brand-new function.
Summary of the invention
The present invention provides a kind of graphical configuration to carry out the method for java, mainly comprises following steps:
(1) the operation flow node calls;
(2) combination of the conditional attribute on node succession and the lines;
(3) Business Stream processing node attribute, the exception catching mechanism and the Business Stream circular treatment that wherein comprise Orchestration Designer, operation flow are machine-processed;
(4) workflow is called.
Further, Orchestration Designer comprises the processing node attribute of Business Stream node type, Business Stream, the circulation attribute of Business Stream, the attribute of Business Stream lines.
Further again, the Business Stream node type has processing node, normal termination node, the abnormal ending node of abnormal information, flex point, mail node, sub-process node and text annotation is set.
Further, described Business Stream processing node attribute comprises parameter, post-treatment parameters, pre-treatment parameter, execution mechanism, the method call number of times of object ID, initial parameter, the method for calling, method, wherein:
Object ID is meant and is used for obtaining from Spring that object instance, sql statement call, call stored procedure;
Initial parameter is used to be provided with the initial attribute value;
The method of calling is meant method name or sql statement or the storing process name that the object ID corresponding instance is had;
The parameter of method is meant the parameter that can from the attribute of Business Stream, obtain;
If aftertreatment ginseng is meant the attribute that is used for this node and had both increased to the attribute of Business Stream when complete and has existed then revise this property value, can from the attribute of node object, obtain or from the rreturn value of method, obtain;
The pre-treatment parameter both is meant when being used for this node is triggered the attribute that the attribute to Business Stream increases, if existed then revise this property value, uses constant value basically and is used to represent whether this node was triggered;
Execution mechanism is meant that this node executes the become a useful person synchronization mechanism that continues downwards to carry out and this node and is triggered and promptly continues the asynchronous mechanism carried out downwards;
The method that the method call number of times is meant in program process and is called is once or at every turn all to call.
The circulation attribute of the Business Stream that further, is comprised in the Orchestration Designer has asynchronous and synchronous characteristic.
Further; Obtain in the attribute of variable from Business Stream of the condition of passing through of the Business Stream lines attribute that is comprised in the Orchestration Designer; For avoiding designing the endless loop that error causes, system is provided with maximum through number, surpasses maximum through the abnormal ending of several then flow process.
Further; The circular treatment of Business Stream is provided with parameter p roperty1=list, parameter p roperty2=list.length at node 1; At node 2 parameter p eoperty1 (n) .columnName is set; < property.length carried out circulation, if triggering times=property.length then carries out downwards as if triggering times when program was carried out to node 2.
Further, the unusual source of Business Stream comprises the Business Stream initialization exception, node initializing is unusual, nodal method is called unusually, it is unusual and the triggering abnormal nodes is unusual to surpass the maximum number of pass times of lines.Produce when unusual, operation flow finishes, and by the abnormality processing specification handles, must do the db transaction rollback then.
Effect of the present invention is: the present invention provides the various backstages of a kind of patterned mode layout Service Component to call; Form new Service Component; Realize new business function; This patterned arranging service method makes professional visual, is convenient to link up and realize business demand, and can responds the variation of demand fast.
Description of drawings
Below in conjunction with accompanying drawing and embodiment the present invention is further described:
Fig. 1 is that the embodiment of the invention graphically disposes the method flow diagram of carrying out JAVA.
Fig. 2 is that the embodiment of the invention graphically disposes the concrete grammar process flow diagram of carrying out JAVA.
Embodiment
Below in conjunction with specific embodiment such scheme is further specified.Should be understood that these embodiment are used to the present invention is described and are not limited to limit scope of the present invention.The implementation condition that adopts among the embodiment can be done further adjustment according to the condition of concrete producer, and not marked implementation condition is generally the conventional condition of using.
Embodiment
As depicted in figs. 1 and 2, the method for java is carried out in this graphical configuration, may further comprise the steps:
(1) calling of operation flow node:
In the present embodiment, call object instance in webservice, BPEL functional module and the Spring container; Object instance in the Spring container is carried out certain time-like and is called in the Business Stream implementation, certain type then write by the java code.
(2) combination of the conditional attribute on node succession and the lines:
In the present embodiment, the flow process trend of the decision of the conditional attribute on lines node.
(3) Business Stream processing node attribute:
In the present embodiment, professional flow graph designer is used vertical mode instead, be used for obtaining object instance from Spring, or the built-in hard coded of platform calls SQL statement or storing process.The initial attribute value is set, and the parameter of preparation method is handled from the attribute of Business Stream; During post-treatment parameters this node complete be if that the attribute that both increases to the attribute of Business Stream has existed then revises this property value, this property value can be obtained from the attribute of node object, also can from the rreturn value of method, obtain; And the attribute that this node of pre-treatment parameter had both increased to the attribute of Business Stream when being triggered if existed then revise this property value, can be that constant value is used to represent whether this node was triggered basically.
In the present embodiment, to execute the mechanism that continues downwards to carry out of becoming a useful person be synchronization mechanism to this node; And this node mechanism that continues to carry out downwards that is triggered promptly is asynchronous mechanism.
In the present embodiment; The variable of condition obtains from the attribute of Business Stream and could pass through, and the maximum of setting is used to avoid designing the endless loop that error causes through number, surpasses the then flow process abnormal ending of maximum number of pass times; Design is that system default is 1, can revise during actual design.
In the present embodiment, operation flow will produce circular treatment, at node 1 property1=list will be set; Property2=list.length, the method parameter of node 2 are set to property1 (n) .columnName; When triggering times during less than property.length; Carry out circular treatment, when triggering times equaled property.length, node continued to carry out downwards.
In the present embodiment; Business Stream occurs following when unusual: the Business Stream initialization exception, node initializing is unusual, nodal method is called unusually, surpass that the maximum number of pass times of lines is unusual, the triggering abnormal nodes is unusual; Operation flow finishes; Press platform abnormality processing specification handles then, but must do the db transaction rollback.
(4) workflow is called:
In the present embodiment, calling of operation flow is electronic spreadsheet, menu, ToolBar, workflow etc.
In the present invention, the execution of some SQL statements of layout of Business Stream designer figure can be used, brand-new business function can be developed through above-described method.But through all consistency operation functions of executable expressions layout easily.
Obviously, it is apparent to those skilled in the art that above-mentioned each module of the present invention or each step can realize with the general calculation device; They can concentrate on the single calculation element; Perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element; Thereby; Can they be stored in the memory storage and carry out, perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize by calculation element.Like this, the present invention is not restricted to any specific hardware and software combination.
Above-mentioned instance only is explanation technical conceive of the present invention and characteristics, and its purpose is to let the people who is familiar with this technology can understand content of the present invention and enforcement according to this, can not limit protection scope of the present invention with this.All equivalent transformations that spirit is done according to the present invention or modification all should be encompassed within protection scope of the present invention.

Claims (8)

1. one kind is graphically disposed the method for carrying out java, it is characterized in that said method comprises following steps:
(1) according to business process specification definition operation flow module, carries out the design of operation flow then;
(2) Business Process Driven is carried out conditional branching, circular treatment and abnormality processing;
(3) the operation flow node is carried out.
2. the method for java is carried out in graphical configuration according to claim 1, it is characterized in that said operation flow comprises the circulation attribute of the processing node attribute of Business Stream node type, Business Stream, Business Stream, the attribute of Business Stream lines.
3. the method for java is carried out in graphical configuration according to claim 1, it is characterized in that said Business Stream node type has processing node, normal termination node, abnormal ending node, flex point, mail node, sub-process node and the text annotation of abnormal information are set.
4. the method for java is carried out in graphical configuration according to claim 1; It is characterized in that said described Business Stream processing node attribute comprises parameter, post-treatment parameters, pre-treatment parameter, execution mechanism, the method call number of times of object ID, initial parameter, the method for calling, method, wherein:
Object ID is meant and is used for obtaining from Spring that object instance, sql statement call, call stored procedure;
Initial parameter is used to be provided with the initial attribute value;
The method of calling is meant method name or sql statement or the storing process name that the object ID corresponding instance is had;
The parameter of method is meant the parameter that can from the attribute of Business Stream, obtain;
If aftertreatment ginseng is meant the attribute that is used for this node and had both increased to the attribute of Business Stream when complete and has existed then revise this property value, can from the attribute of node object, obtain or from the rreturn value of method, obtain;
The pre-treatment parameter both is meant when being used for this node is triggered the attribute that the attribute to Business Stream increases, if existed then revise this property value, uses constant value basically and is used to represent whether this node was triggered;
Execution mechanism is meant that this node executes the become a useful person synchronization mechanism that continues downwards to carry out and this node and is triggered and promptly continues the asynchronous mechanism carried out downwards;
The method that the method call number of times is meant in program process and is called is once or at every turn all to call.
5. the method for java is carried out in graphical configuration according to claim 1, and the circulation attribute of the Business Stream that it is characterized in that being comprised in the said Orchestration Designer has asynchronous and synchronous characteristic.
6. the method for java is carried out in graphical configuration according to claim 1; Obtain in the attribute of variable from Business Stream of the condition of passing through of the Business Stream lines attribute that it is characterized in that being comprised in the said Orchestration Designer; For avoiding designing the endless loop that error causes; System is provided with maximum through number, surpasses maximum through the abnormal ending of several then flow process.
7. the method for java is carried out in graphical configuration according to claim 1; The circular treatment that it is characterized in that said Business Stream is provided with parameter p roperty1=list, parameter p roperty2=list.length at node 1; At node 2 parameter p eoperty1 (n) .columnName is set; < property.length carried out circulation, if triggering times=property.length then carries out downwards as if triggering times when program was carried out to node 2.
8. the method for java is carried out in graphical configuration according to claim 1, it is characterized in that the unusual source of said Business Stream comprises the Business Stream initialization exception, node initializing is unusual, nodal method is called unusually, to surpass the maximum number of pass times of lines unusual and the triggering abnormal nodes is unusual; Produce when unusual, operation flow finishes, and by the abnormality processing specification handles, must do the db transaction rollback then.
CN201110394877XA 2011-12-02 2011-12-02 Method for graphical configuration and execution of java Pending CN102508672A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110394877XA CN102508672A (en) 2011-12-02 2011-12-02 Method for graphical configuration and execution of java

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110394877XA CN102508672A (en) 2011-12-02 2011-12-02 Method for graphical configuration and execution of java

Publications (1)

Publication Number Publication Date
CN102508672A true CN102508672A (en) 2012-06-20

Family

ID=46220764

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110394877XA Pending CN102508672A (en) 2011-12-02 2011-12-02 Method for graphical configuration and execution of java

Country Status (1)

Country Link
CN (1) CN102508672A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461518A (en) * 2014-11-23 2015-03-25 国云科技股份有限公司 Method for managing java program system configuration files

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101216906A (en) * 2007-12-29 2008-07-09 中国建设银行股份有限公司 A flow control method and a flow engine
CN101256492A (en) * 2008-03-31 2008-09-03 宋乃辉 Software development method and system for executing model drive structure
US7503032B2 (en) * 2001-06-15 2009-03-10 International Business Machines Corporation Method and framework for model specification, consistency checking and coordination of business processes
CN101826987A (en) * 2010-04-27 2010-09-08 北京邮电大学 System and method for supporting mixed service based on integrated open network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7503032B2 (en) * 2001-06-15 2009-03-10 International Business Machines Corporation Method and framework for model specification, consistency checking and coordination of business processes
CN101216906A (en) * 2007-12-29 2008-07-09 中国建设银行股份有限公司 A flow control method and a flow engine
CN101256492A (en) * 2008-03-31 2008-09-03 宋乃辉 Software development method and system for executing model drive structure
CN101826987A (en) * 2010-04-27 2010-09-08 北京邮电大学 System and method for supporting mixed service based on integrated open network

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461518A (en) * 2014-11-23 2015-03-25 国云科技股份有限公司 Method for managing java program system configuration files

Similar Documents

Publication Publication Date Title
JP6523354B2 (en) State machine builder with improved interface and handling of state independent events
CN109345377B (en) Data real-time processing system and data real-time processing method
US7168077B2 (en) System and method of executing and controlling workflow processes
US10068202B2 (en) Instantiating complex event scenarios using dynamic rule creation
CN109725899B (en) Data stream processing method and device
CN110097364A (en) Block chain intelligence contract modularization generation method, system, terminal and storage medium
CN101388904B (en) GIS service aggregating method, device and system
CN111144731A (en) Dynamic implementation method and device of workflow and computer readable storage medium
CN104572290A (en) Method and device for controlling message processing threads
WO2010139226A1 (en) Service component and application software development method and system based on the service component
US9052845B2 (en) Unified interface for meta model checking, modifying, and reporting
CN103065221A (en) Multidisciplinary collaborative optimization flow modeling and scheduling method and system based on business process execution language (BPEL)
CN104572895A (en) MPP (Massively Parallel Processor) database and Hadoop cluster data intercommunication method, tool and realization method
Mukherjee et al. Determining QoS of WS-BPEL compositions
US20120215583A1 (en) System and method for managing real-time batch workflows
CN113435846A (en) Business process arranging method and device, computer equipment and storage medium
CN109814992A (en) Distributed dynamic dispatching method and system for the acquisition of large scale network data
CN112559301A (en) Service processing method, storage medium, processor and electronic device
CN106843818B (en) Business model generation method and device
Brochado et al. A data-driven model with minimal information for bottleneck detection-application at Bosch thermotechnology
CN108984156A (en) A kind of software auto generating method and system for exempting from code development based on template
CN116860856A (en) Financial data processing method and device, computer equipment and storage medium
CN117114909A (en) Method, device, equipment and storage medium for constructing accounting rule engine
US10685309B1 (en) Case system events triggering a process
CN102508672A (en) Method for graphical configuration and execution of java

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120620