Java Web code generator, which focuses on Java Web project general purpose code generator and Java Web Code Generator
This project is a general code generator for the javaWEB project. j
Recently relive a few design patterns, see everyone's blog is Java code +uml view, UML Express the overall framework, and then show the specific code, entire areas, at a glance. So we also studied how the Java code and UML model are converted to each other.A common
For details, please refer to:http://blog.csdn.net/fengshizty/article/details/43086833Follow the above blog address to download the generator dependency package:Here is my configuration file:XML version= "1.0" encoding= "UTF-8"?>DOCTYPE generatorconfiguration Public "-//mybatis.org//dtd mybatis Generator Configuration 1.0//en" "/http Mybatis.org/dtd/mybatis-generator
Feeling in the immediate need to do a larger business system, think of the endless additions and deletions to check, paste copy, immediately after the brain rises a cool breeze. Then think of a search or write a Java code generator, so that in the normal development of the progress, you can still have more time to do something else.Gossip less say, first summarize the following requirements:I need this tool
In UML, Java inheritance and interfaces are represented in the previous article.ArticleIn JavaProgramming LanguageAnd UML class diagrams indicate the differences between classes, attributes, operations, and associations. Let's take a look at how to represent two important Java concepts in
file in a text editor. As shown in 8-19.Figure 8-197. Generating class diagrams from Java code(1) Select File-reverse Engineer-object language popup 8-20 shown.Figure 8-20(2) In the object Language bar select Java, click OK to enter the following interface, 8-21 shows.Figure 8-21(3) Click Add, add the Java file, click OK to generate the corresponding
language for software engineering, which describes the system's class collection, the class's properties, and the relationships between classes. To help people to simplify the understanding of the system, it is an important product of the system analysis and design stage, and also is the important model basis for system coding and testing. Learning to draw a good class diagram is a skill that a qualified software engineer should have.UML Diagrams for classesIn a
Unified Modeling Language (UML) is a standard notation for building object-oriented system models. Between 1995-1997 and a half years, UML boarded the stage of the object-oriented programming community and was recognized by the Object Management Organization (OMG) in the late 1997. Although it was initially controversial-because it was put forward in a piece of support and opposition-
from:http://blog.itpub.net/14780914/viewspace-588975/
This article is intended for those software architects, designers and developers who want to use IBM? Rational? Software Architect from Java? Source code to reverse engineer the generation of UML classes and sequence diagrams. Reverse engineering is often used to derive lost design documents from existing source code in an abstract model
in the problem domain and can be obtained by direct analysis. For example, the tyre is part of the car, the leaves are part of the tree, the hands and feet are part of the body of this relationship, very obviously the whole-part relationship.Several of these relationships (associations, aggregates/combinations, dependencies) may appear in the code as pointers, references, values, and so on in another class, not in form, but logically they are different.
Reference: http://blog.csdn.net/blues1021
Interaction between Java and UML
Author: cuno studio selected from: saide.com
We will mainly discuss the UML class diagram above. Next we will discuss another UML diagram-the interaction diagram ). The interaction diagram describes the i
Today is looking at a simulator of the source code, a package has multiple classes, a class has a number of properties and methods, if in order to look down, not only can not be a general understanding of the framework of the simulator, and will only see the more chaotic, so, Think of any tools that can translate these classes and their dependencies into UML diagrams so that you can see them at a glance. Immediately searched, did not expect such a lar
application, but they will eventually reside in the operating system, not in the application.
Figure 1 is a UML diagram that shows some classes that represent TCP/IP services that are intended for Java networking classes.
It is important to understand that the classes shown in the above illustration represent the services provided by the operating system. They are not the service itself. We incorporate t
Design Mode: Why does Java development require UML-general Linux technology-Linux programming and kernel information? For details, see below. Do you know what kind of situation the UML has caused? Do you know what types of functions are available in UML but not in JAVA? Do y
Do you know what the situation in UML is causing chaos? Know what kind of functionality is available in UML but not in Java? Do you know why we need another computer language other than Java? UML is not just a substitute for Java
The array declaration must be assigned a space with newThere is no length () method in the array in Java, so the lengths of the array can be used in the array.
12
int[]arr={1,2,3,4,5};intlength=arr.length;//求数组的长度
String has the length () method, which is used to find the lengths of the strings
12
Stringstr="Hello";intlength=str.length();//求字符串的长度
UML
The Java Programmer's perspective on UML and Object modeling is a simple and practical introduction. While it's fascinating to explore UML from the historical and basic concepts, we'll start with Java code, see how UML Describes Java
Converting a Java project into a clear UML class diagram makes it easier for us to understand the project structure and dependencies between modules. This article describes six open-source tools that can reverse engineer Java projects to UML class diagrams.
1.Eclipse MDT
Model Development Tool (MDT) provides some exemp
Objective
The key to successfully using Java EE to build enterprise applications is the same as all complex software platforms: Effective communication of requirements, formulation of correct analysis and design decisions, and identification of the best implementation options.
Companies that pursue the best visualization models can develop their software faster and build higher-quality systems. Unified Modeling Language (
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.