CN101853167A - Dynamic object editing method based on SOA (Service-Oriented Architecture) and RCP (Rich Client Platform) - Google Patents

Dynamic object editing method based on SOA (Service-Oriented Architecture) and RCP (Rich Client Platform) Download PDF

Info

Publication number
CN101853167A
CN101853167A CN201010194483A CN201010194483A CN101853167A CN 101853167 A CN101853167 A CN 101853167A CN 201010194483 A CN201010194483 A CN 201010194483A CN 201010194483 A CN201010194483 A CN 201010194483A CN 101853167 A CN101853167 A CN 101853167A
Authority
CN
China
Prior art keywords
editor
editing
soa
editing machine
properties
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
CN201010194483A
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.)
BEIJING JOIN BRIGHT ELECTRIC POWER TECHNOLOGY Co Ltd
Original Assignee
BEIJING JOIN BRIGHT ELECTRIC POWER TECHNOLOGY 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 JOIN BRIGHT ELECTRIC POWER TECHNOLOGY Co Ltd filed Critical BEIJING JOIN BRIGHT ELECTRIC POWER TECHNOLOGY Co Ltd
Priority to CN201010194483A priority Critical patent/CN101853167A/en
Publication of CN101853167A publication Critical patent/CN101853167A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a dynamic object editing method based on SOA (Service-Oriented Architecture) and RCP (Rich Client Platform). The method comprises the following steps of: (1) acquiring an object through an SOA service; (2) acquiring object properties according to the introduced object to generate an object editing window and allocating a corresponding editor according to the type of a property editor in the configuration information of the properties; (3) in order to adapt to the special requirement of different types of properties, renewedly appointing an editor to the properties of the object when the object is introduced, and providing events before and after editing when the editor edits the properties so as to meet the editing requirements of various types of properties; (4) editing and modifying property fields in the editor; (5) automatically updating an editing result into the object, and when the object stores the editing result, automatically carrying out various property verification operations on the editing information by the object according to the configuration information, wherein events before and after storing are provided for the storing operations of the object, which completely meets various editing requirements of different objects; and (6) transferring the SOA service to persist the object into a database.

Description

Method based on the dynamic object editor of SOA, RCP
Technical field
The present invention relates to Automation of Electric Systems, relate in particular to a kind of dynamic object editor's based on SOA, RCP method.
Background technology
In Object-oriented Programming Design, to liking the basis of an application program, all application programs all be unable to do without the operation to object, and different business can abstractly be the operation to different objects.
Traditional edit mode to object as shown in Figure 1, all need create editor during different object editing, layout object editing attribute, create corresponding editing machine etc. according to the attribute that object is different, the result that will edit during editor is back in the object properties, editor finishes the back according to the back object of editor, call the persistence function with Object Persistence in database.In the real-life program performance history, usually adopt MVC (Model-View-Control, a kind of Design Mode, its enforceable input that makes application program, handle and export separately, application program is divided into three core components: model, view, controller, they deal with the task of oneself separately) hierarchical design thought, improve the reusability of code to a great extent, reduce the degree of coupling between object, though yet there is very big similarity in the editor of object, but current not general object editing method, the editing process of different objects all needs the customization programming.
SOA (service-oriented architecture, based on service-oriented architecture) service logic of an application program or the function package that some is independent can be presented to client for service, can make up application according to the one or more services of the demand combinations of reality during use, simultaneously, SOA can adopt different language, different Platform Implementation.RCP (Rich Client Platform, rich client application framework) be based on the Eclipse project (but Eclipse be open source code, based on the regarded as output controlling platform of Java.In itself, it is a framework and one group of service just, is used for making up environment by plug in component.) an exploitation rich client application framework releasing, purpose be for the developer provide function more powerful, efficiently, extendible application platform.In changes in demand unusual frequent today, the user not only requires abundant graphic user interface, also wishes to have characteristics such as intelligent updating, professional platform independence, extensibility.Eclipse RCP just in time can satisfy these demands.In SOA, people use browser as presentation layer usually, yet in some scene, RCP still is a better choice, and it allows the developer with the form expansion of plug-in unit and the multipad of structure oneself.RCP has more advantage aspect following: 1, have abundant interface element, be supported in the professional-looking that structure has the specific operation system style on the kinds of platform; 2, the customer in response end is used fast, and smooth user experience is provided; 3, support mass data processing, effectively improve the performance of system; 4, support the shortcut navigation, be user-friendly to and operate; 5, cross-platform operation of support and HTTP mode issue and upgrade, and have fundamentally solved the problem that difficulty was disposed and upgraded to traditional Fat Client program.
Dynamic object edit methods based on SOA, RCP of the present invention has all advantages of SOA, RCP, provides a general solution to the editor of different objects.
Summary of the invention
For overcoming the defective of prior art, the technical problem to be solved in the present invention has provided a kind of to the general method based on the dynamic object editor of SOA, RCP of different objects.
Technical scheme of the present invention is: this dynamic object editor's based on SOA, RCP method may further comprise the steps: (1) gets access to object by the SOA service; (2) according to its object properties of object acquisition of importing into, the formation object editor distributes corresponding editing machine according to the attributes edit device type in the configuration information of attribute simultaneously; (3) for adapting to the special requirement of dissimilar attributes, when object imports into, can reassign editing machine, when editing machine edit properties value, provide and edit preceding, editor back incident, satisfy editor's demand of all kinds attribute the attribute of object; (4) in the editing machine to the attribute field edit-modify; (5) edited result is updated in the object automatically, when preserving, object edit file is carried out automatically the various verification operations of attribute according to configuration information, incident before wherein the preservation of object operation provides and preserved, after the preservation satisfies the various editor's demands of different objects fully; (6) calling SOA serves Object Persistence in database.
This method can be applicable to different application, have cross-platform, as can effectively to improve code transplantability, reusability simultaneously concurrently, save the research and development time and the cost of system greatly, for the editor to different objects in the different application provides a general solution.
Description of drawings
Fig. 1 is traditional edit methods to object;
Fig. 2 is the edit methods to object of the present invention.
Embodiment
The dynamic object edit methods provides a general solution to the editor of different objects, and it is mainly based on SOA, RCP technology, and the principle in strict accordance with high cohesion, low coupling will encapsulate the operation of object.The core concept of dynamic object edit methods is embodied on its dynamic, can dynamically generate corresponding editing interface according to the attribute of different objects, according to the corresponding attributes edit device of the automatic coupling of the configuration information of different attribute.Only concrete object need be imported in use, modification editing operation can be finished an object.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
The dynamic object edit methods is towards different objects, and promptly Bian Ji object attribute uncertain, object is uncertain.As shown in Figure 2, this dynamic object editor's based on SOA, RCP method may further comprise the steps: (1) gets access to object by the SOA service; (2) according to its object properties of object acquisition of importing into, the formation object editor distributes corresponding editing machine according to the attributes edit device type in the configuration information of attribute simultaneously; (3) for adapting to the special requirement of dissimilar attributes, when object imports into, can reassign editing machine, when editing machine edit properties value, provide and edit preceding, editor back incident, satisfy editor's demand of all kinds attribute the attribute of object; (4) in the editing machine to the attribute field edit-modify; (5) edited result is updated in the object automatically, when preserving, object edit file is carried out automatically the various verification operations etc. of attribute according to configuration information, incident before wherein the preservation of object operation provides and preserved, after the preservation satisfies the various editor's demands of different objects fully; (6) calling SOA serves Object Persistence in database.Described step (2) is specially: editing machine functional abstract commonly used is gone out a base class, and editing machine commonly used is inherited base class and is realized specific class, uses factory mode to realize a method that generates a specific editor class example according to the editing machine kind in the base class.During use,, call this method and generate the specific editor example according to the Editor Types in the object configuration information.The dynamic object edit methods can be applicable to different application, have cross-platform, as can effectively to improve code transplantability, reusability simultaneously concurrently, save the research and development time and the cost of system greatly, for the editor to different objects in the different application provides a general solution.
Advantage of the present invention is as follows:
1, versatility can be applied to different systems;
2, cross-platform, use the soa mode to obtain object information, can be used with any development platform, as .net, java, delphi or the like;
3, ease for use only need be imported object to be edited into during editor, saves the research and development time and the cost of system;
4, stability is strong, when object changes, only needs to revise the object configuration information, and editor does not need to change;
5, dirigibility is strong, editor is provided before, editor back, preserve before, preserve incident such as back, when the editing interface of acquiescence is undesirable, can be by developer's customized treatment.
The above; it only is preferred embodiment of the present invention; be not that the present invention is done any pro forma restriction, every foundation technical spirit of the present invention all still belongs to the protection domain of technical solution of the present invention to any simple modification, equivalent variations and modification that above embodiment did.

Claims (2)

1. based on the dynamic object editor's of SOA, RCP method, it is characterized in that, may further comprise the steps:
(1) gets access to object by the SOA service;
(2) according to its object properties of object acquisition of importing into, the formation object editor distributes corresponding editing machine according to the attributes edit device type in the configuration information of attribute simultaneously;
(3) for adapting to the special requirement of dissimilar attributes, when object imports into, can reassign editing machine, when editing machine edit properties value, provide and edit preceding, editor back incident, satisfy editor's demand of all kinds attribute the attribute of object;
(4) in the editing machine to the attribute field edit-modify;
(5) edited result is updated in the object automatically, when preserving, object edit file is carried out automatically the various verification operations of attribute according to configuration information, incident before wherein the preservation of object operation provides and preserved, after the preservation satisfies the various editor's demands of different objects fully;
(6) calling SOA serves Object Persistence in database.
2. the dynamic object editor's based on SOA, RCP according to claim 1 method, it is characterized in that: described step (2) has been used the method that generates corresponding editing machine according to no configuration information, promptly editing machine functional abstract commonly used is gone out a base class, editing machine commonly used is inherited base class and is realized specific class, use factory mode to realize a method that generates a specific editor class example according to the editing machine kind in the base class, when using, according to the Editor Types in the object configuration information, call this method and generate the specific editor example.
CN201010194483A 2010-05-28 2010-05-28 Dynamic object editing method based on SOA (Service-Oriented Architecture) and RCP (Rich Client Platform) Pending CN101853167A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010194483A CN101853167A (en) 2010-05-28 2010-05-28 Dynamic object editing method based on SOA (Service-Oriented Architecture) and RCP (Rich Client Platform)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010194483A CN101853167A (en) 2010-05-28 2010-05-28 Dynamic object editing method based on SOA (Service-Oriented Architecture) and RCP (Rich Client Platform)

Publications (1)

Publication Number Publication Date
CN101853167A true CN101853167A (en) 2010-10-06

Family

ID=42804676

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010194483A Pending CN101853167A (en) 2010-05-28 2010-05-28 Dynamic object editing method based on SOA (Service-Oriented Architecture) and RCP (Rich Client Platform)

Country Status (1)

Country Link
CN (1) CN101853167A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104346185A (en) * 2013-08-01 2015-02-11 腾讯科技(深圳)有限公司 Application object attribute updating method and device and application platform
CN104714993A (en) * 2013-12-12 2015-06-17 南宁市磁汇科技有限公司 Method for conducting real-time property editing on rolling object

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101334728A (en) * 2008-07-28 2008-12-31 北京航空航天大学 Interface creating method and platform based on XML document description
CN101410798A (en) * 2006-04-27 2009-04-15 国际商业机器公司 A method and system for generating application data editors

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101410798A (en) * 2006-04-27 2009-04-15 国际商业机器公司 A method and system for generating application data editors
CN101334728A (en) * 2008-07-28 2008-12-31 北京航空航天大学 Interface creating method and platform based on XML document description

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈刚: "《Eclipse从入门到精通》", 30 June 2005, 清华大学出版社 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104346185A (en) * 2013-08-01 2015-02-11 腾讯科技(深圳)有限公司 Application object attribute updating method and device and application platform
US10204125B2 (en) 2013-08-01 2019-02-12 Tencent Technology (Shenzhen) Company Limited Method, apparatus, and application platform for updating application object attribute
CN104346185B (en) * 2013-08-01 2019-08-13 腾讯科技(深圳)有限公司 Application object attributes update method, device and application platform
CN104714993A (en) * 2013-12-12 2015-06-17 南宁市磁汇科技有限公司 Method for conducting real-time property editing on rolling object

Similar Documents

Publication Publication Date Title
CN103927163B (en) Plugin frame processing device and plugin system
CN105302578B (en) A kind of portal total management system of towed layout configuration
US8762933B2 (en) Converting business process models to component models in a service oriented architecture domain
US20190196793A1 (en) Building enterprise mobile applications
EP1391818A2 (en) Method, system and apparatus for an industrial framework based on integrated applications via adapters
CN104636139A (en) Visualized cross-platform mobile application development and generation system
US20140280484A1 (en) Dynamic Service Extension Infrastructure For Cloud Platforms
CN105446740A (en) MVVM (Model-View-View Model) architecture based Web front-end presentation system
CN104484189A (en) Construction and design method of application interface
CN102981855A (en) Template-based interface autogeneration method and system
US20120102414A1 (en) Distributed controller of a user interface framework for web applications
US20130117719A1 (en) Context-Based Adaptation for Business Applications
US12093966B2 (en) Customer service representative dashboard with micro-applications
CN104657149A (en) Software framework implementation method of management module of storage system
CN103176802B (en) Realize the method that the user interface UI of system separates with widget library by control pond
CN103164206A (en) Software customization system based on software as a service (SAAS)
CN107092475A (en) The call method and device of a kind of interactive controls
CN112152913B (en) Service control method, device and system
CN103152433B (en) A kind of use, interaction and the request processing method at Distributed Services end
CN104834715A (en) Website generating method and system based on components and container
CN103870280B (en) Webpage seamless combining processing method based on FLEX and JSP
CN101853167A (en) Dynamic object editing method based on SOA (Service-Oriented Architecture) and RCP (Rich Client Platform)
CN106325851A (en) Interactive remote cooperation method of Android application
Sefid‐Dashti et al. A reference architecture for mobile SOA
Park et al. Development of HLA-DDS wrapper API for network-controllable distributed simulation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB03 Change of inventor or designer information

Inventor after: Zhou Qingjie

Inventor after: Wang Longgang

Inventor after: Huang Xiaowen

Inventor before: Wang Longgang

Inventor before: Huang Xiaowen

COR Change of bibliographic data

Free format text: CORRECT: INVENTOR; FROM: WANG LONGGANG HUANG XIAOWEN TO: ZHOU QINGJIE WANG LONGGANG HUANG XIAOWEN

WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20101006