CN112286509A - Java generation method, system, electronic device and readable storage medium - Google Patents
Java generation method, system, electronic device and readable storage medium Download PDFInfo
- Publication number
- CN112286509A CN112286509A CN202011267668.4A CN202011267668A CN112286509A CN 112286509 A CN112286509 A CN 112286509A CN 202011267668 A CN202011267668 A CN 202011267668A CN 112286509 A CN112286509 A CN 112286509A
- Authority
- CN
- China
- Prior art keywords
- java
- code
- name
- generation
- configuration information
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 42
- 238000006243 chemical reaction Methods 0.000 claims description 12
- 238000004590 computer program Methods 0.000 claims description 11
- 230000002688 persistence Effects 0.000 claims description 8
- 238000011161 development Methods 0.000 abstract description 12
- 230000018109 developmental process Effects 0.000 description 12
- 238000004891 communication Methods 0.000 description 9
- 230000006872 improvement Effects 0.000 description 6
- 230000008859 change Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 5
- 230000006399 behavior Effects 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 239000008186 active pharmaceutical agent Substances 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000012217 deletion Methods 0.000 description 2
- 230000037430 deletion Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000008520 organization Effects 0.000 description 2
- 230000000750 progressive effect Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 238000013523 data management Methods 0.000 description 1
- 238000005538 encapsulation Methods 0.000 description 1
- 238000007667 floating Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000003340 mental effect Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000008929 regeneration Effects 0.000 description 1
- 238000011069 regeneration method Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 239000011800 void material Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/31—Programming languages or programming paradigms
- G06F8/315—Object-oriented languages
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/35—Creation or generation of source code model driven
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Stored Programmes (AREA)
Abstract
The application discloses a Java generation method, a system, an electronic device and a readable storage medium, wherein the method comprises the following steps: selecting an object needing to generate Java code; and generating the Java code according to the configuration information of the object. According to the simple and quick Java code generation method, the front-end code and the back-end code can be generated through the system only through simple configuration, development efficiency is improved, and labor cost is reduced.
Description
Technical Field
The invention relates to a method for generating codes. More particularly, the invention relates to a Java generation method, system, electronic device and readable storage medium.
Background
At present, the development speed of the internet industry is gradually increased, and with the increasing importance of the work of programmers, the work task is heavier and heavier. Among the numerous programming languages used by programmers, Java, which typically implements object-oriented theory as an object-oriented programming language, allows programmers to perform complex programming in an object-oriented thinking manner, and is also increasingly used.
As an object-oriented programming language, Java not only absorbs various advantages of C + + language, but also abandons concepts such as multiple inheritance, pointers and the like which are difficult to understand in C + +, so that the Java language has two characteristics of strong function, simplicity and easiness in use. The Java language, which is representative of the static object-oriented programming language, excellently implements object-oriented theory, allowing programmers to perform complex programming in an elegant, mental manner.
However, the following problems still exist in the current writing and generation of Java code:
1. the mode codes (increase, deletion, modification and check) of the business system are basically the same as the front-end pages (increase, deletion, modification and check), and repeated writing of the codes with the same function occupies most of time of developers, so that the working efficiency of the developers is low;
2. due to different programming styles of different developers, codes developed by the same project are not standard and uniform, and the probability of code compiling failure is increased;
3. in the prior art, a software developer performs necessary editing and modification on codes, the generation process is performed only once, and the integrated development environment IDE or an editor contains the code generation method. However, the limitation of this code generation method is also obvious, the IDE or the editor is responsible for generating only once, the remaining workload is of software developers, the regeneration will cover the modified code, and is also only applicable to a part of scenes, the configurability is not sufficient, the corresponding entity cannot be flexibly selected to generate the corresponding code, and the corresponding front-end page cannot be generated.
Disclosure of Invention
The embodiment of the application provides a Java generation method, which is used for at least solving the problem of subjective factor influence in the related technology.
The invention provides a Java generation method, which comprises the following steps:
an object selection step: selecting an object needing to generate Java code;
a code generation step: and generating the Java code according to the configuration information of the object.
As a further improvement of the present invention, the code generating step specifically includes the steps of:
an information acquisition step: acquiring configuration information of a database;
name conversion step: converting the object name into a Java class name according to the database configuration information;
a column conversion step: reading column information of the object, and converting the column information into Java class attributes and types;
a template code generation step: code templates are obtained and applied to render the back-end and front-end Vue code from the transformed objects.
As a further improvement of the invention, the database configuration information comprises the path and name of the packet, the module name, the author name and the data type.
As a further improvement of the invention, the code template comprises a control layer, a service layer, a persistence layer, a front end page Vue generation layer and a physical layer.
Based on the same invention idea, the invention also discloses a Java generation system based on the Java generation method disclosed by any invention,
the Java generation system includes:
the object selection module is used for selecting an object needing to generate Java code;
and the code generation module is used for generating the Java code according to the configuration information of the object.
As a further improvement of the present invention, the code generation module includes:
an information acquisition unit that acquires database configuration information;
the name conversion unit is used for converting the object name into a Java class name according to the database configuration information;
the column conversion unit is used for reading the column information of the object and converting the column information into Java class attributes and types;
and a template code generation unit for acquiring a code template and applying the code template to render the back-end and front-end Vue codes according to the converted object.
As a further improvement of the invention, the database configuration information in the information acquisition unit comprises the path and name of the packet, the module name, the author name and the data type.
As a further improvement of the invention, the code template in the template code generation unit comprises a control layer, a service layer, a persistence layer, a front end page Vue generation layer and a physical layer.
Furthermore, to achieve the above object, the present invention further provides an electronic device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the Java generation method according to any one of claims 1 to 4 when executing the computer program.
Further, to achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon a computer program, characterized in that the program, when executed by a processor, implements a Java generation method as recited in any one of claims 1 to 4.
Compared with the prior art, the invention has the following beneficial effects:
1. the simple and quick Java code generation method is provided, and front-end and back-end codes can be generated through the system only by simple configuration, so that the development efficiency is improved, and the labor cost is reduced;
2. aiming at the same repeated codes such as the mode codes (increasing, deleting, modifying and checking) of the service system, the front-end page (increasing, deleting, modifying and checking) and the like, repeated writing is not needed;
3. codes developed by the same project are standard and uniform, and the success rate of code compiling is increased;
4. the method has the advantages of rich applicable scenes, improved configurability, flexible selection of the corresponding entities to generate the corresponding codes and incapability of generating the corresponding front-end pages.
The details of one or more embodiments of the application are set forth in the accompanying drawings and the description below to provide a more thorough understanding of the application.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
FIG. 1 is a flowchart of an embodiment of the present invention for generating Java files;
fig. 2 is an overall architecture diagram of a Java generation method according to an embodiment of the present invention;
FIG. 3 is a diagram of an object list provided by an embodiment of the invention;
FIG. 4 is an overall flowchart of the step S2 disclosed in FIG. 1;
FIG. 5 is a block diagram of the overall architecture of code generation provided by an embodiment of the present invention;
fig. 6 is a structural framework diagram of a Java generation system according to this embodiment;
fig. 7 is a block diagram of a computer device according to an embodiment of the present invention.
In the above figures:
100. an object selection module; 200. a code generation module; 201. an information acquisition unit; 202. a name conversion unit; 203. a column conversion unit; 204. a template code generation unit; 80. a bus; 81. a processor; 82. a memory; 83. a communication interface.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be described and illustrated below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments provided in the present application without any inventive step are within the scope of protection of the present application.
It is obvious that the drawings in the following description are only examples or embodiments of the present application, and that it is also possible for a person skilled in the art to apply the present application to other similar contexts on the basis of these drawings without inventive effort. Moreover, it should be appreciated that in the development of any such actual implementation, as in any engineering or design project, numerous implementation-specific decisions must be made to achieve the developers' specific goals, such as compliance with system-related and business-related constraints, which may vary from one implementation to another.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the specification. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of ordinary skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments without conflict.
Unless defined otherwise, technical or scientific terms referred to herein shall have the ordinary meaning as understood by those of ordinary skill in the art to which this application belongs. Reference to "a," "an," "the," and similar words throughout this application are not to be construed as limiting in number, and may refer to the singular or the plural. The present application is directed to the use of the terms "including," "comprising," "having," and any variations thereof, which are intended to cover non-exclusive inclusions; for example, a process, method, system, article, or apparatus that comprises a list of steps or modules (elements) is not limited to the listed steps or elements, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. Reference to "connected," "coupled," and the like in this application is not intended to be limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The term "plurality" as referred to herein means two or more. "and/or" describes an association relationship of associated objects, meaning that three relationships may exist, for example, "A and/or B" may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. Reference herein to the terms "first," "second," "third," and the like, are merely to distinguish similar objects and do not denote a particular ordering for the objects.
The present invention is described in detail with reference to the embodiments shown in the drawings, but it should be understood that these embodiments are not intended to limit the present invention, and those skilled in the art should understand that functional, methodological, or structural equivalents or substitutions made by these embodiments are within the scope of the present invention.
Before describing in detail the various embodiments of the present invention, the core inventive concepts of the present invention are summarized and described in detail by the following several embodiments.
The invention can realize automatic code generation based on the object configuration information, thereby improving the development efficiency and reducing the labor cost.
The first embodiment is as follows:
referring to fig. 1 to 7, the present example discloses a specific implementation of a Java generation method (hereinafter referred to as "method").
Specifically referring to fig. 1 and 2, the method disclosed in this embodiment mainly includes the following steps:
and step S1, selecting the object needing to generate the Java code.
Specifically, in some of these embodiments, before code is generated, an object that generates Java code needs to be selected first. For example: as shown in fig. 3, there is a five-item list, table 1 is selected as the object of code generation, and then code generation is performed by clicking the generated code.
In particular, Java, which is a representative object-oriented programming language, implements object-oriented theory, allowing programmers to perform complex programming in an object-oriented thinking manner, and Java code has the characteristics of simplicity, object-oriented, distributed, robustness, security, platform independence and portability, multithreading, dynamicity, and the like. Java may write desktop applications, Web applications, distributed system and embedded system applications, etc. Java is an object-oriented language, and in an object-oriented system, a class (class) is a collection of methods that manipulate data and data, which together describe the state and behavior of an object (object), each object being the encapsulation of its state and behavior. Classes are arranged in a hierarchy and hierarchy such that subclasses can inherit behavior from superclasses. In this class hierarchy there is a root class, which is a class with general behavior, and Java programs are organized in classes.
Specifically, Java Development kits or Java Development tools use JDK (Java Development kit), which is a program Development environment for writing Java Applet applets and applications. JDK is the core of the entire Java, including the Java Runtime Environment (Java Runtime Environment), some Java tools and Java core class libraries (Java APIs). Whatever the Java application server is essentially a JDK with a version built in. The mainstream JDK is a JDK released by Sun corporation, and in addition to Sun, there are many companies and organizations that develop their own JDKs, such as JDK developed by IBM corporation, jpocket by BEA corporation, and JDK developed by GNU organization. In addition, the Java SE API subset and the Java virtual machine in the Java API class library may be collectively referred to as JRE (Java Runtime environment), which is a standard environment supporting Java program operation. JRE is a runtime environment, JDK is a development environment. Therefore, JDK is required when writing Java programs, and JRE is required when running Java programs. The JDK already contains the JRE, so that the Java program can be edited as long as the JDK is installed, and the Java program can also be normally run. However, the JDK contains many contents irrelevant to the operation and occupies a large space, so that it is not necessary to install the JDK but only the JRE for operating the common Java program.
Then, referring to fig. 4 and 5, step S2 is executed to generate the Java code according to the configuration information of the object.
In some embodiments, step S2 specifically includes the following steps:
s21, acquiring database configuration information;
s22, converting the object name into a Java class name according to the database configuration information;
s23, reading the column information of the object, and converting the column information into Java class attributes and types;
s24, obtaining a code template, and applying the code template to render the rear end and front end Vue codes according to the converted objects.
Specifically, in some of these embodiments, the database configuration information includes the path and name of the package, the module name, the author name, the data type. The system may support a variety of database generation codes. A database is a "warehouse that organizes, stores, and manages data according to a data structure," which is an organized, sharable, uniformly managed collection of large amounts of data that is stored in a computer for a long period of time. The storage space is large, and millions, millions and hundreds of millions of data can be stored. However, the database does not store data randomly, and has certain rules, otherwise, the query efficiency is low. The world is an internet world full of data, which is a data world, and the sources of data are many, such as travel records, consumption records, browsed web pages, sent messages and the like, except for text type data, images, music and sounds are data. The concept of a database actually includes two layers of meaning: the database is an entity, which is a warehouse capable of reasonably keeping data, a user stores transaction data to be managed in the warehouse, and the two concepts of data and the warehouse are combined into the database; databases are new methods and techniques for data management that enable more appropriate organization of data, more convenient maintenance of data, tighter control of data, and more efficient use of data. The database management system is a computer software system designed for managing a database, and generally has basic functions of storage, interception, security guarantee, backup and the like. The database management system may be categorized according to the database models it supports.
Specifically, in some embodiments, the column name read in step S23 is converted into a Java attribute name, and the data type of the column is converted into a Java type. The Java basic types are eight in number, and can be divided into three types, namely a character type char, a Boolean type coolean, and a numerical type byte, short, int, long, float, and double. Numeric types can be further classified into integer types byte, short, int, long, and floating point types float, double. The value types in Java are not unsigned, and the value range of the value types is fixed and cannot be changed along with the change of a machine hardware environment or an operating system. In fact, there is another basic type void in Java, which also has corresponding wrappers, but cannot operate on them directly.
Specifically, in some embodiments, the code template in step S24 includes a control layer, a service layer, a persistence layer, a front-end page Vue generation layer, and a physical layer. The Java middle persistence layer framework is responsible for the operation with the relational database, and needs to create a series of persistence classes, the attributes of each class can be simply regarded as corresponding to the attributes of one database table one by one, and certainly, the correspondence of various table element associations of the relational database can be realized.
Vue is a set of progressive JavaScript frames for constructing a user interface. Unlike other large frames, Vue is designed to be applied layer by layer from the bottom up. Vue the core library only focuses on the viewing layer, facilitating integration with third party libraries or existing projects. Vue is a set of progressive frameworks that build a user interface. Unlike other heavyweight frames, Vue employs a design developed in bottom-up increments. Vue focus only on the viewing layer and are very easy to learn and integrate with other libraries or existing projects. Vue, on the other hand, is fully capable of driving complex single-page applications developed using single-file components and libraries supported by Vue ecosystems. Vue is to implement the data binding and combined view components of the response through as simple an API as possible. Vue is not a universal framework in itself-it focuses only on the viewing layer. It is very easy to learn and integrate with other libraries or existing projects. On the other hand, Vue also perfectly drives complex single page applications when used with associated tools and supporting libraries.
According to the simple and quick Java code generation method disclosed by the embodiment of the application, only simple configuration is needed, front-end codes and back-end codes can be generated through a system, the development efficiency is improved, the labor cost is reduced, repeated writing is not needed for codes with the same repetition such as business system mode codes (increase, delete, change and check) and front-end pages (increase, delete, change and check), the codes developed by the same project are standard and uniform, the probability of code compiling success is increased, the application scenarios are rich, the configurability is improved, corresponding entities can be flexibly selected to generate corresponding codes, and the corresponding front-end pages cannot be generated.
The details of one or more embodiments of the application are set forth in the accompanying drawings and the description below to provide a more thorough understanding of the application.
Example two:
in conjunction with a Java generation method disclosed in the first embodiment, this embodiment discloses a specific implementation example of a Java generation system (hereinafter referred to as "system").
Referring to fig. 6, the system includes:
an object selection module 100 for selecting an object requiring generation of a Java code;
and the code generation module 200 generates the Java code according to the configuration information of the object.
In some of these embodiments, code generation module 200 includes:
an information acquisition unit 201 that acquires database configuration information;
a name conversion unit 202, configured to convert the object name into a Java class name according to the database configuration information;
a column conversion unit 203, which reads the column information of the object and converts the column information into Java class attributes and types;
the template code generation unit 204 obtains a code template and applies the code template to render the back-end and front-end Vue code according to the converted object.
In some embodiments, the database configuration information in the information obtaining unit 201 includes a path and name of a packet, a module name, an author name, and a data type.
In some embodiments, the code template in the template code generation unit 204 comprises a control layer, a service layer, a persistence layer, a front end page Vue generation layer and a physical layer.
Example three:
referring to FIG. 7, the embodiment discloses an embodiment of a computer device. The computer device may comprise a processor 81 and a memory 82 in which computer program instructions are stored.
Specifically, the processor 81 may include a Central Processing Unit (CPU), or A Specific Integrated Circuit (ASIC), or may be configured to implement one or more Integrated circuits of the embodiments of the present Application.
The memory 82 may be used to store or cache various data files for processing and/or communication use, as well as possible computer program instructions executed by the processor 81.
The processor 81 implements any one of the Java generation methods in the above embodiments by reading and executing computer program instructions stored in the memory 82.
In some of these embodiments, the computer device may also include a communication interface 83 and a bus 80. As shown in fig. 7, the processor 81, the memory 82, and the communication interface 83 are connected via the bus 80 to complete communication therebetween.
The communication interface 83 is used for implementing communication between modules, devices, units and/or equipment in the embodiment of the present application. The communication port 83 may also be implemented with other components such as: the data communication is carried out among external equipment, image/data acquisition equipment, a database, external storage, an image/data processing workstation and the like.
The computer device may automatically generate a code corresponding to the object based on the object configuration information, thereby implementing the method described in conjunction with fig. 1.
In addition, in combination with the Java generation method in the foregoing embodiment, the embodiment of the present application may provide a computer-readable storage medium to implement. The computer readable storage medium having stored thereon computer program instructions; the computer program instructions, when executed by a processor, implement any of the Java generation methods in the above embodiments.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
In summary, the simple and fast Java code generation method has the beneficial effects that only simple configuration is needed, front-end and back-end codes can be generated through the system, the development efficiency is improved, the labor cost is reduced, repeated compiling is not needed for codes with the same repetition such as service system model codes (increase, delete, change and check) and front-end pages (increase, delete, change and check), so that codes developed by the same project are standard and uniform, the probability of code compiling success is increased, the application scenarios are rich, the configurability is improved, corresponding entities can be flexibly selected to generate corresponding codes, and the corresponding front-end pages cannot be generated.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (10)
1. A Java generation method, comprising the steps of:
an object selection step: selecting an object needing to generate Java code;
a code generation step: and generating the Java code according to the configuration information of the object.
2. The Java generation method of claim 1, wherein the code generation step specifically includes the steps of:
an information acquisition step: acquiring configuration information of a database;
name conversion step: converting the object name into a Java class name according to the database configuration information;
a column conversion step: reading column information of the object, and converting the column information into Java class attributes and types;
a template code generation step: code templates are obtained and applied to render the back-end and front-end Vue code from the transformed objects.
3. The Java generation method of claim 2, wherein the database configuration information includes a path and name of a package, a module name, an author name, a data type.
4. The Java generation method of claim 2, wherein the code template includes a control layer, a service layer, a persistence layer, a front-end page Vue generation layer, a physical layer.
5. A Java generation system that executes the Java generation method according to any one of claims 1 to 4,
the Java generation system includes:
the object selection module is used for selecting an object needing to generate Java code;
and the code generation module is used for generating the Java code according to the configuration information of the object.
6. The Java generation system of claim 5, wherein the code generation module comprises:
an information acquisition unit that acquires database configuration information;
the name conversion unit is used for converting the object name into a Java class name according to the database configuration information;
the column conversion unit is used for reading the column information of the object and converting the column information into Java class attributes and types;
and a template code generation unit for acquiring a code template and applying the code template to render the back-end and front-end Vue codes according to the converted object.
7. The Java generation system according to claim 6, wherein the database configuration information in the information acquisition unit includes a path and name of a package, a module name, an author name, a data type.
8. The Java generation system of claim 6, wherein the code template in the template code generation unit includes a control layer, a service layer, a persistence layer, a front-end page Vue generation layer, a physical layer.
9. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the Java generation method as claimed in any one of claims 1 to 4 when executing the computer program.
10. A computer-readable storage medium on which a computer program is stored, the program, when executed by a processor, implementing a Java generation method as claimed in any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011267668.4A CN112286509A (en) | 2020-11-13 | 2020-11-13 | Java generation method, system, electronic device and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011267668.4A CN112286509A (en) | 2020-11-13 | 2020-11-13 | Java generation method, system, electronic device and readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112286509A true CN112286509A (en) | 2021-01-29 |
Family
ID=74398669
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011267668.4A Pending CN112286509A (en) | 2020-11-13 | 2020-11-13 | Java generation method, system, electronic device and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112286509A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080127040A1 (en) * | 2006-08-31 | 2008-05-29 | Jon Barcellona | Enterprise-Scale Application Development Framework Utilizing Code Generation |
CN110674625A (en) * | 2019-08-29 | 2020-01-10 | 浙江数链科技有限公司 | Code generation method and device, computer equipment and storage medium |
CN111190587A (en) * | 2019-12-26 | 2020-05-22 | 曙光信息产业(北京)有限公司 | Method and system for automatically generating engineering front-end code based on JDBC |
-
2020
- 2020-11-13 CN CN202011267668.4A patent/CN112286509A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080127040A1 (en) * | 2006-08-31 | 2008-05-29 | Jon Barcellona | Enterprise-Scale Application Development Framework Utilizing Code Generation |
CN110674625A (en) * | 2019-08-29 | 2020-01-10 | 浙江数链科技有限公司 | Code generation method and device, computer equipment and storage medium |
CN111190587A (en) * | 2019-12-26 | 2020-05-22 | 曙光信息产业(北京)有限公司 | Method and system for automatically generating engineering front-end code based on JDBC |
Non-Patent Citations (1)
Title |
---|
MR丶C: "代码生成,减少70%的重复劳动", pages 1 - 22, Retrieved from the Internet <URL:https://www.cnblogs.com/mrccjj/p/9295854.html> * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Carlsson et al. | SICStus Prolog—the first 25 years | |
US8533659B2 (en) | Efficient extraction of software dependencies from program code | |
US7877680B2 (en) | Auto-generation and auto-versioning of a multi-sourced dynamic document | |
US20060143596A1 (en) | Program analyzing apparatus and testing apparatus, and analyzing method and program therefor | |
US20150006146A1 (en) | Omega names: name generation and derivation | |
US20120110444A1 (en) | Help Document Animated Visualization | |
CN110007920B (en) | Method and device for acquiring code dependency relationship and electronic equipment | |
CN104391787B (en) | Monitoring method aiming at target method as well as thermal cutting-in method and device | |
KR20010007010A (en) | Relation-based ordering of objects in an object heap | |
US7610292B2 (en) | Systems and methods for storing a dataset having a hierarchical data structure in a database | |
US9483508B1 (en) | Omega names: name generation and derivation | |
CN108595187A (en) | Method, device and the storage medium of Android installation kit integrated software development kit | |
US10853224B2 (en) | Indexing and searching a time-travel trace for arbitrary length/arbitrary alignment values | |
CN109284222B (en) | Software unit, project testing method, device and equipment in data processing system | |
US20080065664A1 (en) | Computer-implemented method, tool, and program product for more efficiently utilizing java resource bundles | |
CN115328458B (en) | Business application development method and device | |
CN111367512A (en) | Method and device for creating Android library module dependency relationship in application development | |
CN116578282A (en) | Code generation method, device, electronic equipment and medium | |
US20110271261A1 (en) | Modifiable high-level intermediate representation of source code | |
CN112286509A (en) | Java generation method, system, electronic device and readable storage medium | |
CN112148746B (en) | Method, device, electronic device and storage medium for generating database table structure document | |
CN112380142A (en) | Interface document management method and device and test equipment | |
US7917893B2 (en) | Using a system of annotations to generate views and adapters | |
KR100846203B1 (en) | Method for generating mobile application and record media recorded program for realizing the same | |
US10055207B2 (en) | Persistent variables in programming languages |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |