Rose is the most popular modeling tool, one is the standard (more people who have long history), and the other is that they have emerged from RUP (using Rational Suite), although in actual work, we cannot completely follow the RUP method. To guide the overall development process, but believe that most teams still use the 'simplified version of the demand analysis design around Rose, and mostly use not very authentic' XP 'development :)
Rose think is complicated, the connotation is rich, the operation is awkward, the document is simple, human nature is not. However, people are probably the reason why it is rare is our current TeamLeader, SA is quite a deep reason, which will also affect the apprentice - future SAs.
One through the model generation code
Rose Help in Help >> Contents >> Rose Java >> How to >> Forward Engineer from Rose To Java Source Next is a simple translation and a review step: 1 Checking for Java Syntax ErrorS
3 Generating Java Source from a Class Diagram 4 Mapping Components for Code Generation 5 Browsing the Java Source 6 Completing the Generated Java Source 1 Checking for Java Syntax Errors When you try to model components converted into code framework, it should be considered the first check to be generated The class has a syntax error. 1 Open the target DIAGRAGRAGRAGRAGRAGRAGRAGRAM 2 Select the package or class you want to transform. 3. Click Tools> Java / J2EE> Syntax Check to check if the target code meets the specification, such as named errors. 4 Look at the Rose log window (below) to view the test results, if there is an error, that is, the generated code generated so that the code is likely to be compiled 5. Correct The Components As Neededed. 5 Correct these components as needed or Figure 6 Repeat step 3 until test I can't make a mistake, then you can go to the next step 2 GENERANT DIAGRA Source from a Component Diagram Hypothesis All steps have been done ERROR 7 Select the package or class 8 Click Tools> Java / J2EE> Generate Code General If you haven't map a package or component to a ROSE's classpath directory (where you specify what you have made), then the system will not allow you to point OK in the next interface, then edit the target path now 9 Point ClassPath Entries under the EDIT button appears to find new (insert) in the upper right corner, then select the target path in the new row in the column table, you can choose the target to generate a zip, jar, Still a directory, we choose a directory. Specify the directory, OK, then the path you choose will work, choose this path, point OK back to the interface (a lot of Ah, the interface is ugly) 10 Now you see the ClassPath Entries, choose the right list In the package or component you want to convert, click Assign, which is assigned to the target classpth, theoretically you can assign a plurality of Classptah objects to the selected package component or class map. After the point OK starts to generate 11 successfully, you can see the code under the specified classpath, and the generated code has the relationship shown in the class diagram. Two reverse function Rose Help in Help >> Contents >> Rose Java >> How to >> Reverse Engineer from Java Source To Rose Reverse Project is generated or updated by Java code or updates a model.