CN105718259A - Eclipse based rapid component plugging development method - Google Patents

Eclipse based rapid component plugging development method Download PDF

Info

Publication number
CN105718259A
CN105718259A CN201610027211.3A CN201610027211A CN105718259A CN 105718259 A CN105718259 A CN 105718259A CN 201610027211 A CN201610027211 A CN 201610027211A CN 105718259 A CN105718259 A CN 105718259A
Authority
CN
China
Prior art keywords
assembly
component
file
eclipse
pom
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
CN201610027211.3A
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.)
Guangdong Eshore Technology Co Ltd
Original Assignee
Guangdong Eshore 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 Guangdong Eshore Technology Co Ltd filed Critical Guangdong Eshore Technology Co Ltd
Priority to CN201610027211.3A priority Critical patent/CN105718259A/en
Publication of CN105718259A publication Critical patent/CN105718259A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention discloses an Eclipse based rapid component plugging development method. The method comprises: uploading an existing component into a public component library according to a user-defined specification; querying a selected component by means of an Eclipse plugin tool; and automatically loading the newly selected component into a project. According to the method, visualized component plugging management can be performed in an Eclipse development environment, so that software development efficiency is greatly improved, and the application doorsill of basic components is lowered.

Description

A kind of fast module based on Eclipse plugs development approach
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of fast module based on Eclipse and plug development approach.
Background technology
Currently in exploitation Java project, all can quote various common base assembly, or independently developed technology, Service Component, because assembly is of a great variety, the interface and the way of reference that there is provided are also different, developer must be familiar with the way of reference of assembly and could use, relating to multinomial manual setting simultaneously in invocation procedure and rely on management, development process is loaded down with trivial details and easily makes mistakes, often because a certain configuration error takes time and effort.
Eclipse+Maven, as the main flow development environment of Java, improves the efficiency of exploitation to a certain extent, can solve, especially with Maven project management tool, the dependence that assembly is quoted preferably;But instrument itself the unrealized management to common component, quote, offloading functions, all are required for manual carrying out.The operation of Maven and interaction models are as shown in Figure 1.
Additionally, application for a patent for invention CN201110141573.2 discloses client and its implementation of a kind of railway ticket system.The method includes: search each functional unit from Component Gallery, and described functional unit includes date assembly, train number assembly, sends out station assembly, the assembly that arrives at a station, ticket kind assembly and Xi Bie assembly;The each functional unit searched is carried on the platform based on Eclipse kernel.The client of railway ticket system of the present invention has relatively low development cost, it is simple to client is safeguarded and upgrades.Although this invention also has, assembly is loaded on Eclipse platform, but just for railway ticket system associated component, has certain limitation, also do not describe the concrete grammar of charging assembly simultaneously.
In sum, under the form that current common component spreads unchecked, if good basis common component can quickly be quoted and manage, undoubtedly that project development is of great advantage.
Summary of the invention
The invention aims to overcome the defect of prior art, a kind of fast module based on Eclipse is provided to plug development approach, such that it is able to carry out the plug management of visual assembly under Eclipse development environment, it is greatly improved the efficiency of software development, reduces the application threshold to infrastructure component.
For achieving the above object, the invention provides a kind of fast module based on Eclipse and plug development approach, described method includes:
Existing assembly is uploaded in common component storehouse by self-defined specification;
Optional component is inquired about by Eclipse inserter tool;
The newly selected assembly is automatically loaded into projects.
Further, common component need to provide the configuration file of compliant, including the configuration file of assembly self, the configuration of POM project dependent file, code application sample source code, and assembly is wrapped the project of passing to public Maven exploitation warehouse.
Further, inquiry optional component achieves the visualization interface of apolegamy based on EclipseRCP, and inquires about and component exhibiting list from configuration warehouse in conjunction with JDBC technology.
Further, optional component is loaded into projects, including amendment master project POM file, automatically download SDK and associated profile, automatically generate SDK and quote sample.
Further, optional component loading procedure includes:
POM configuration file according to selected assembly adds content to POM file<dependencies>the label place of destination item engineering;
The configuration of assembly self is inserted into the resources catalogue of purpose project;
Code is quoted sample file copy to test catalogue;
Ideal engineering automatically will be developed download component warehouse from Maven according to POM file and rely on bag, complete compiling.
The beneficial effect that technical solution of the present invention is brought:
The method can carry out the plug management of visual assembly under Eclipse development environment, is greatly improved the efficiency of software development, reduces the application threshold to infrastructure component, reduce misquotation, improves the recycling rate of waterused of common component.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 be the present invention prior art in Maven operation with interaction models figure;
Fig. 2 is the method flow diagram of the present invention;
The common component that Fig. 3 is the present invention uploads to common component storehouse schematic diagram;
Fig. 4 is the Eclipse plug-in architecture figure of the present invention;
Fig. 5 is the assembly loading procedure schematic diagram of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention.
The invention provides a kind of fast module based on Eclipse and plug development approach, be illustrated in figure 2 the method flow diagram of the present invention, concrete described method includes: uploaded in common component storehouse by self-defined specification by existing assembly;Optional component is inquired about by Eclipse inserter tool;The newly selected assembly is automatically loaded in projects.The method can carry out the plug management of visual assembly under Eclipse development environment, is greatly improved the efficiency of software development, reduces the application threshold to infrastructure component.
Specific embodiment of the invention is as follows:
First, existing assembly is uploaded in common component storehouse by self-defined specification.
It is illustrated in figure 3 the schematic diagram that existing assembly is uploaded to common component storehouse by self-defined specification.For common component, it is provided that unified assembly configuration warehouse stores assembly relevant configuration;For the ease of projects quoting assembly, common component need to provide the configuration file of compliant, including the configuration file of assembly self, the configuration of POM project dependent file, code application sample source code, and assembly is wrapped the project of passing to public Maven exploitation warehouse.
Secondly, by the inquiry of Eclipse inserter tool, optional component.
The inventive method is in conjunction with the plug-in part technology of Eclipse, it is achieved that assembly apolegamy function.Developer only need to can carry out the apolegamy operation of visual assembly under familiar Eclipse development environment, it is to avoid extra learning cost.This function is based primarily upon EclipseRCP and achieves the visualization interface of apolegamy, and in conjunction with JDBC technology from the inquiry of configuration warehouse and component exhibiting list, its architecture is as shown in Figure 4.
Finally, the assembly of apolegamy is automatically loaded in projects.
Optional component is loaded into projects, including amendment master project POM file, automatically download SDK and associated profile, automatically generate SDK and quote sample.After choosing the assembly needing to introduce, inserter tool will realize the automatic value-added tax function of assembly, and overall loading procedure is as it is shown in figure 5, specific as follows:
1, POM file<dependencies>the label place of destination item engineering is added content to according to the POM configuration file of selected assembly;
2, the configuration of assembly self is inserted into the resources catalogue of purpose project;
3, code is quoted sample file copy to test catalogue;
4, ideal engineering automatically will be developed download component warehouse from Maven according to POM file and rely on bag, complete compiling.
The visualization plug exploitation of assembly can be realized by above-mentioned steps, allow developer carry out the plug management of visual Java component, plug and play under Eclipse development environment, reduce the application threshold to infrastructure component, greatly improve the efficiency of software development.
Above the embodiment of the present invention being described in detail, principles of the invention and embodiment are set forth by specific case used herein, and the explanation of above example is only intended to help to understand method and the core concept thereof of the present invention;Simultaneously for one of ordinary skill in the art, according to the thought of the present invention, all will change in specific embodiments and applications, in sum, this specification content should not be construed as limitation of the present invention.

Claims (5)

1. the fast module based on Eclipse plugs development approach, it is characterised in that described method includes:
Existing assembly is uploaded in common component storehouse by self-defined specification;
Optional component is inquired about by Eclipse inserter tool;
The newly selected assembly is automatically loaded into projects.
2. method according to claim 1, it is characterized in that, common component need to provide the configuration file of compliant, including the configuration file of assembly self, the configuration of POM project dependent file, code application sample source code, and assembly is wrapped the project of passing to public Maven exploitation warehouse.
3. method according to claim 1, it is characterised in that inquiry optional component achieves the visualization interface of apolegamy based on EclipseRCP, and inquires about and component exhibiting list from configuration warehouse in conjunction with JDBC technology.
4. the method according to claim 1 or 2 or 3, it is characterised in that optional component is loaded into projects, including amendment master project POM file, automatically download SDK and associated profile, automatically generate SDK and quote sample.
5. method according to claim 4, it is characterised in that optional component loading procedure includes:
POM configuration file according to selected assembly adds content to POM file<dependencies>the label place of destination item engineering;
The configuration of assembly self is inserted into the resources catalogue of purpose project;
Code is quoted sample file copy to test catalogue;
Ideal engineering automatically will be developed download component warehouse from Maven according to POM file and rely on bag, complete compiling.
CN201610027211.3A 2016-01-14 2016-01-14 Eclipse based rapid component plugging development method Pending CN105718259A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610027211.3A CN105718259A (en) 2016-01-14 2016-01-14 Eclipse based rapid component plugging development method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610027211.3A CN105718259A (en) 2016-01-14 2016-01-14 Eclipse based rapid component plugging development method

Publications (1)

Publication Number Publication Date
CN105718259A true CN105718259A (en) 2016-06-29

Family

ID=56147192

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610027211.3A Pending CN105718259A (en) 2016-01-14 2016-01-14 Eclipse based rapid component plugging development method

Country Status (1)

Country Link
CN (1) CN105718259A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106371850A (en) * 2016-09-19 2017-02-01 上海葡萄纬度科技有限公司 Method for establishing customizable desktop widget
CN106843978A (en) * 2017-01-23 2017-06-13 北京乐盟互动科技有限公司 A kind of SDK cut-in methods and system
CN108647107A (en) * 2018-05-14 2018-10-12 浪潮软件集团有限公司 Unified exception handling method for micro-service development framework
CN108920137A (en) * 2018-07-01 2018-11-30 甘肃万维信息技术有限责任公司 A kind of system of creation web project and code based on eclipse frame
CN108984180A (en) * 2018-07-17 2018-12-11 河北中科恒运软件科技股份有限公司 A kind of rapid development system shared based on whole assembly
CN112416425A (en) * 2020-11-20 2021-02-26 微医云(杭州)控股有限公司 APP construction method and device, computer equipment and storage medium
CN112860227A (en) * 2021-02-08 2021-05-28 杭州玳数科技有限公司 Functional code component development method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080184199A1 (en) * 2007-01-25 2008-07-31 Eric Philip Fried Method and apparatus for resolving client-side logic
CN101770366A (en) * 2009-11-27 2010-07-07 山东中创软件商用中间件股份有限公司 Storing and managing method for eclipse inserter based on Web service
CN102637130A (en) * 2012-03-15 2012-08-15 北京神州数码思特奇信息技术股份有限公司 Method and device for building web projects
CN102779034A (en) * 2011-05-13 2012-11-14 易程(苏州)软件股份有限公司 Client side of railway ticketing system and implementation method of client side

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080184199A1 (en) * 2007-01-25 2008-07-31 Eric Philip Fried Method and apparatus for resolving client-side logic
CN101770366A (en) * 2009-11-27 2010-07-07 山东中创软件商用中间件股份有限公司 Storing and managing method for eclipse inserter based on Web service
CN102779034A (en) * 2011-05-13 2012-11-14 易程(苏州)软件股份有限公司 Client side of railway ticketing system and implementation method of client side
CN102637130A (en) * 2012-03-15 2012-08-15 北京神州数码思特奇信息技术股份有限公司 Method and device for building web projects

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106371850A (en) * 2016-09-19 2017-02-01 上海葡萄纬度科技有限公司 Method for establishing customizable desktop widget
CN106843978A (en) * 2017-01-23 2017-06-13 北京乐盟互动科技有限公司 A kind of SDK cut-in methods and system
CN106843978B (en) * 2017-01-23 2020-04-03 北京乐盟互动科技有限公司 SDK access method and system
CN108647107A (en) * 2018-05-14 2018-10-12 浪潮软件集团有限公司 Unified exception handling method for micro-service development framework
CN108920137A (en) * 2018-07-01 2018-11-30 甘肃万维信息技术有限责任公司 A kind of system of creation web project and code based on eclipse frame
CN108984180A (en) * 2018-07-17 2018-12-11 河北中科恒运软件科技股份有限公司 A kind of rapid development system shared based on whole assembly
CN112416425A (en) * 2020-11-20 2021-02-26 微医云(杭州)控股有限公司 APP construction method and device, computer equipment and storage medium
CN112860227A (en) * 2021-02-08 2021-05-28 杭州玳数科技有限公司 Functional code component development method

Similar Documents

Publication Publication Date Title
CN105718259A (en) Eclipse based rapid component plugging development method
CN102622241B (en) A kind of method for upgrading software and device
US11429365B2 (en) Systems and methods for automated retrofitting of customized code objects
CN108829378B (en) Application software development method and device and electronic equipment
CN103197948B (en) A kind of electric intelligent devices communicating stipulations script resolving method
CN108388445B (en) Continuous integration method based on &#39;platform + application&#39; mode
US20220317997A1 (en) Online Upgrade Method for Household Appliance Multi-MCU System, Electronic Device and Medium
CN105354037A (en) Modularized software developing method and software developing device
CN104077131A (en) Component deployment system and method
CN105718251A (en) Multilanguage SDK (software development kit) automatic implementation method and system
CN105426165A (en) Script tool processing method and apparatus
CN102693121A (en) Automatic developing and manufacturing system of cross-platform mobile phone application and implementation method for cross-platform mobile phone application
CN106371881A (en) Method and system for updating program versions in servers
CN105630563A (en) Dynamic model configuration method of relay protection device specification based on XML (Extensible Markup Language)
CN104077161A (en) Client application updating method and device
CN103338121A (en) System management server and method, and system for server system management
CN104484201A (en) Method and device for updating software tool development package of IOS (Internetwork Operating System) equipment
CN104881311A (en) Method and apparatus for judging version compatibility
CN103955372A (en) Method and device for detecting resources in mobile terminal
CN105808748A (en) MIB (Management Information Base) version contrast method and device
CN103049300B (en) C and C++ code is in the method supporting the WEB platform of FLASH is run
CN104298521A (en) Window updating method and device
CN113791809B (en) Application exception handling method and device and computer readable storage medium
CN111629200A (en) Method and device for rapidly detecting differential packet reliability and readable storage medium
CN106547700B (en) A kind of method and device of program debugging

Legal Events

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

Application publication date: 20160629

RJ01 Rejection of invention patent application after publication