CN102375743A - SOA(Service-Oriented Architecture) system development method based on model and template - Google Patents

SOA(Service-Oriented Architecture) system development method based on model and template Download PDF

Info

Publication number
CN102375743A
CN102375743A CN2011103220796A CN201110322079A CN102375743A CN 102375743 A CN102375743 A CN 102375743A CN 2011103220796 A CN2011103220796 A CN 2011103220796A CN 201110322079 A CN201110322079 A CN 201110322079A CN 102375743 A CN102375743 A CN 102375743A
Authority
CN
China
Prior art keywords
file
template
generate
code
model
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.)
Granted
Application number
CN2011103220796A
Other languages
Chinese (zh)
Other versions
CN102375743B (en
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.)
Beijing Jinher Software Co Ltd
Original Assignee
Beijing Jinher Software 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 Beijing Jinher Software Co Ltd filed Critical Beijing Jinher Software Co Ltd
Priority to CN201110322079.6A priority Critical patent/CN102375743B/en
Publication of CN102375743A publication Critical patent/CN102375743A/en
Application granted granted Critical
Publication of CN102375743B publication Critical patent/CN102375743B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses an SOA (Service-Oriented Architecture) system development method based on a model and a template. The method comprises the following steps of: firstly, inputting a solution to generate a template file, an entity data model file and a code generation template file; then, calling the solution to generate a component and further generate a corresponding solution; selecting an entity data model type code generation template file and a service operating type code generation template file, and calling a template code generation engine to generate corresponding code files according to the types of the selected code generation template files respectively; adding the code files to corresponding projects, calling a configuration file generation engine to generate the configuration file of an application program of an SOA architecture, and finally, executing automatic compilation on the projects and the entire solution. The SOA system development method based on the model and the template reduces the work load of manually modifying or regulating the configuration file in the service development process, and improves the work efficiency of service development.

Description

A kind of method based on model and template development SOA system
Technical field
The present invention relates to business software development technique field, particularly a kind of method based on model and template development SOA system.
Background technology
The business software exploitation focuses on the exploitation of database storing model usually, but the abstract of Business Logic is short of to some extent.The software development methodology that the OMG tissue proposes-model-driven exploitation (MDA) is to drive through the modeling behavior to software systems.Through modeling, service logic is carried out abstract, the platform independence model of MDA (PIM, platform independent model) makes the developer need not be concerned about the realization details, is absorbed in the logic of managing business more.
SOA is a kind of method of constructing distributed system, and it offers the final user with the service application function with the form of serving and uses or other services; Reusing and interoperability of more coarseness on present enterprise application of the core body of SOA or the business function; With the application service system of more loosely-coupled group of granularity of realization and the distributed deployment of serviced component, make operation system easily tackle the needs that enterprise's commerce services changes, develops.
The main development trend that combines to become the business software exploitation of SOA and MDA, in order to make the business development process more efficient, the model-driven exploitation that just needs some to generate based on the automatic code of template.
Summary of the invention
The object of the present invention is to provide a kind of development approach based on model and template development SOA system; Adopt convenient, the template of code generation flexibly; According to each project of SOA business structure generation whole service application and development, support Web application and development and client application development mode, generate the configuration information of the application program of SOA framework automatically; Reduce the workload of free hand modification in the business development process or adjustment configuration file, improved the work efficiency of business development.
For this reason, the invention discloses a kind of method based on model and template development SOA system.The method step of said exploitation SOA system is following:
Step 1, input solution generate template file;
Step 2, definition solid data model file structure;
Step 3, definition code generate template file, comprise that solid data model class code generates template file and the business operation category code generates template file;
Step 4, selection solution generate template file, generate corresponding solution;
Step 5, selection solid data model class code generate template file, generate the template file type according to the code of selecting, and call template code and generate the corresponding code file of engine generation, and the code file that generates is added in the corresponding project;
Step 6, selection business operation category code generate template file, generate the template file type according to the code of selecting, and call template code and generate the corresponding code file of engine generation, and the code file that generates is added in the corresponding project;
Step 7, call configuration file and generate the configuration file that engine generates the application program of SOA framework;
Step 8, the compiling compilation tool that calls Microsoft compile the project that above-mentioned steps generated automatically, generate a cover solution.
Preferably; In the said method based on model and template development SOA system, the solution in the step 1 generates template file and comprises: physical items file, data transmission object item file; Business operation interface item file; The business operation item file, Web application item file, client application item file.
Preferably, in the said method based on model and template development SOA system, the solid data model file structure in the step 2 comprises the mapping between conceptual model, memory model and this two models of entity.
Preferably, in the said method based on model and template development SOA system, the solid data model class code in the step 3 generates template file and comprises: Business Entity class template file, data transmission object class template file, Web application model data class file; The business operation category code generates template file and comprises: business operation interface class template file, business operation is realized class template file, business operation proxy class template file, business operation outer appearnce template file.
Preferably; In the said method based on model and template development SOA system; The configuration file file type of the application program of the SOA framework in the step 7 comprises: use the assembled configuration file, SOA service client configuration file, the configuration file of application server end SOA service.
The invention has the beneficial effects as follows:
Description of drawings
Accompanying drawing 1 is the process flow diagram of a kind of method based on model and template development SOA system of this invention.
Embodiment
Below in conjunction with accompanying drawing the present invention is further specified, so that those of ordinary skills are with reference to implementing according to this behind this instructions.
As shown in Figure 1, a kind of method based on model and template development SOA system of the present invention comprises the steps:
Another kind of way of realization is:
Step 1, definition solid data model file, file structure comprise the mapping between conceptual model, memory model and this two models of entity.
Step 2, definition solution generate template file, and project comprises: physical items file, data transmission object item file, business operation interface item file, business operation item file, Web application item file, client application item file.
Step 3, definition code generate template file, comprise that solid data model class code generates template file and the business operation category code generates template file.Solid data model class code generates template file and comprises: Business Entity class template file, data transmission object class template file, Web application model data class file; The business operation category code generates template file and comprises: business operation interface class template file, business operation is realized class template file, business operation proxy class template file, business operation outer appearnce template file.
Step 4, selection solution generate template file, call the solution formation component and generate corresponding solution.
Step 5, selection solid data model file select solid data model class code to generate template file, generate the template file type according to the code of selecting, and call template code generation engine and generate corresponding code file, and add in the corresponding project.
Step 6, definition business operation class interface file.
Step 7, selection business operation class interface file select the business operation category code to generate template file, generate the template file type according to the code of selecting, and call template code generation engine and generate corresponding code file, and add in the corresponding project.
Step 8, call configuration file and generate the configuration file that engine generates the application program of SOA framework, file type comprises: use the assembled configuration file; SOA service client configuration file supports Web to use and client application; The configuration file of application server end SOA service.
Step 9, compile project and whole solution automatically.
Although embodiment of the present invention are open as above; But it is not restricted to listed utilization in instructions and the embodiment; It can be applied to various suitable the field of the invention fully, for being familiar with those skilled in the art, can easily realize other modification; Therefore under the universal that does not deviate from claim and equivalency range and limited, the legend that the present invention is not limited to specific details and illustrates here and describe.

Claims (5)

1. the method based on model and template development SOA system is characterized in that, may further comprise the steps:
Step 1, input solution generate template file;
Step 2, definition solid data model file structure;
Step 3, definition code generate template file, comprise that solid data model class code generates template file and the business operation category code generates template file;
Step 4, selection solution generate template file, generate corresponding solution;
Step 5, selection solid data model class code generate template file, generate the template file type according to the code of selecting, and call template code and generate the corresponding code file of engine generation, and the code file that generates is added in the corresponding project;
Step 6, selection business operation category code generate template file, generate the template file type according to the code of selecting, and call template code and generate the corresponding code file of engine generation, and the code file that generates is added in the corresponding project;
Step 7, call configuration file and generate the configuration file that engine generates the application program of SOA framework;
Step 8, the compilation tool that calls Microsoft compile the project that above-mentioned steps generated automatically, generate a cover solution.
2. according to claim 1 based on the method for model and template development SOA system; It is characterized in that the solution in the step 1 generates template file and comprises: physical items file, data transmission object item file; Business operation interface item file; The business operation item file, Web application item file, client application item file.
3. according to claim 1 based on the method for model and template development SOA system, it is characterized in that the solid data model file structure in the step 2 comprises the mapping between conceptual model, memory model and this two models of entity.
4. according to claim 1 based on the method for model and template development SOA system; It is characterized in that; Solid data model class code in the step 3 generates template file and comprises: Business Entity class template file, data transmission object class template file, Web application model data class file; The business operation category code generates template file and comprises: business operation interface class template file, business operation is realized class template file, business operation proxy class template file, business operation outer appearnce template file.
5. according to claim 1 based on the method for model and template development SOA system; It is characterized in that; The configuration file file type of the application program of the SOA framework in the step 7 comprises: use the assembled configuration file; SOA service client configuration file, the configuration file of application server end SOA service.
CN201110322079.6A 2011-10-20 2011-10-20 SOA(Service-Oriented Architecture) system development method based on model and template Active CN102375743B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110322079.6A CN102375743B (en) 2011-10-20 2011-10-20 SOA(Service-Oriented Architecture) system development method based on model and template

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110322079.6A CN102375743B (en) 2011-10-20 2011-10-20 SOA(Service-Oriented Architecture) system development method based on model and template

Publications (2)

Publication Number Publication Date
CN102375743A true CN102375743A (en) 2012-03-14
CN102375743B CN102375743B (en) 2014-10-08

Family

ID=45794387

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110322079.6A Active CN102375743B (en) 2011-10-20 2011-10-20 SOA(Service-Oriented Architecture) system development method based on model and template

Country Status (1)

Country Link
CN (1) CN102375743B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103077038A (en) * 2013-01-31 2013-05-01 北京金和软件股份有限公司 Method for dynamically generating and compiling .NET item
CN103530135A (en) * 2013-10-31 2014-01-22 深圳中兴网信科技有限公司 Proxy service generating device and proxy service generating method
CN106201642A (en) * 2016-06-29 2016-12-07 微梦创科网络科技(中国)有限公司 A kind of template automatization based on NODEJS compiling loading method and system
CN109523423A (en) * 2018-11-28 2019-03-26 中国海洋石油集团有限公司 A kind of application system generation method, device, equipment and storage medium
CN113760352A (en) * 2021-07-01 2021-12-07 北京房江湖科技有限公司 Code file generation method, electronic device, storage medium, and program product
CN113778421A (en) * 2021-09-16 2021-12-10 京东方科技集团股份有限公司 Method and equipment for generating service code
CN113805877A (en) * 2021-09-26 2021-12-17 工银科技有限公司 Project engineering construction method and device based on IDEA plug-in

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090064096A1 (en) * 2007-08-29 2009-03-05 Sap Ag System and methods for tracing code generation in template engines
US7814470B2 (en) * 2003-08-27 2010-10-12 International Business Machines Corporation Multiple service bindings for a real time data integration service

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7814470B2 (en) * 2003-08-27 2010-10-12 International Business Machines Corporation Multiple service bindings for a real time data integration service
US20090064096A1 (en) * 2007-08-29 2009-03-05 Sap Ag System and methods for tracing code generation in template engines

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103077038A (en) * 2013-01-31 2013-05-01 北京金和软件股份有限公司 Method for dynamically generating and compiling .NET item
CN103077038B (en) * 2013-01-31 2016-03-30 北京金和软件股份有限公司 The method of dynamic generation and compiling .NET project
CN103530135A (en) * 2013-10-31 2014-01-22 深圳中兴网信科技有限公司 Proxy service generating device and proxy service generating method
CN106201642A (en) * 2016-06-29 2016-12-07 微梦创科网络科技(中国)有限公司 A kind of template automatization based on NODEJS compiling loading method and system
CN109523423A (en) * 2018-11-28 2019-03-26 中国海洋石油集团有限公司 A kind of application system generation method, device, equipment and storage medium
CN109523423B (en) * 2018-11-28 2022-04-19 中国海洋石油集团有限公司 Application system generation method, device, equipment and storage medium
CN113760352A (en) * 2021-07-01 2021-12-07 北京房江湖科技有限公司 Code file generation method, electronic device, storage medium, and program product
CN113778421A (en) * 2021-09-16 2021-12-10 京东方科技集团股份有限公司 Method and equipment for generating service code
CN113805877A (en) * 2021-09-26 2021-12-17 工银科技有限公司 Project engineering construction method and device based on IDEA plug-in

Also Published As

Publication number Publication date
CN102375743B (en) 2014-10-08

Similar Documents

Publication Publication Date Title
CN102375743B (en) SOA(Service-Oriented Architecture) system development method based on model and template
Rademacher et al. Differences between model-driven development of service-oriented and microservice architecture
US7287037B2 (en) Method and apparatus for generating service oriented state data mapping between extensible meta-data model and state data including logical abstraction
CN100498695C (en) Workflow schedule authoring tool
JP5021193B2 (en) Declarative representation of an extensible workflow model
CN109542556B (en) Method and system for interaction between process and form based on Activiti
US7702650B2 (en) Adaptive models framework
US9081579B2 (en) System and method for mobile application development
CN101546260B (en) Method and device thereof for reconstructing service-oriented applications
US9990595B2 (en) Modeled service endpoints in business process model and notation tools
US20050050311A1 (en) Pluggable state meta-data processors based on meta information modeling in a service oriented architecture
CN110764752B (en) System and method for realizing graphic service arrangement of Restful service
KR20080087801A (en) Dynamically repositioning workflow by end users
CN108279866A (en) A kind of the layout execution method, apparatus and medium of operation flow
CN103164206A (en) Software customization system based on software as a service (SAAS)
CN111142862A (en) System and method for automatically generating code
CN103473034A (en) Method and device for dynamically publishing Web service
Ernsting et al. Refining a reference architecture for model-driven business apps
CN103226472A (en) Method for realizing service management software development
CN110618810A (en) Metadata-driven diversified service mixed arrangement method
D'Ambrogio et al. A Model Transformation Approach for the Development of HLA-based Distributed Simulation Systems.
Pfadenhauer et al. Challenges and solutions for model driven web service composition
CN115951970A (en) Heterogeneous multi-simulation software integrated development environment
Hussein et al. Scenario-driven development of context-aware adaptive web services
CN107832162A (en) The method that far call ModelCenter softwares realize multidisciplinary design optimization

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: SOA(Service-Oriented Architecture) system development method based on model and template

Effective date of registration: 20150106

Granted publication date: 20141008

Pledgee: Bank of China Limited by Share Ltd Beijing Century Fortune Central Branch

Pledgor: Beijing Jinher Software Co.,Ltd.

Registration number: 2015990000015

PLDC Enforcement, change and cancellation of contracts on pledge of patent right or utility model