seng 426 seng 426
play

SENG 426 SENG 426 Tool Presentation Tool Presentation ~ Prepared - PowerPoint PPT Presentation

SENG 426 SENG 426 Tool Presentation Tool Presentation ~ Prepared by Sherif Saad ~ Spring 2009 ~ 1 Reverse Engineering Reverse Engineering Go to Tools and select Java/J2EE reverse engineering ~ Prepared by Sherif Saad ~ Spring


  1. SENG 426 SENG 426 Tool Presentation Tool Presentation ~ Prepared by Sherif Saad ~ Spring 2009 ~ 1

  2. Reverse Engineering Reverse Engineering • Go to Tools and select  Java/J2EE  reverse engineering ~ Prepared by Sherif Saad ~ Spring 2009 2 ~

  3. Add your Project Add your Project • From the Java reverse engineering dialog Click on edit class path ~ Prepared by Sherif Saad ~ Spring 2009 3 ~

  4. Choose the Project Src Choose the Project Src • From the Project Specification dialog Click on insert new ~ Prepared by Sherif Saad ~ Spring 2009 4 ~

  5. Choose the Project Src Choose the Project Src • From the Project Specification dialog Click on insert new ~ Prepared by Sherif Saad ~ Spring 2009 5 ~

  6. Choose the source type Choose the source type • From the Add to Classpath dialog Click on Directory ~ Prepared by Sherif Saad ~ Spring 2009 6 ~

  7. Select JWP src directory Select JWP src directory • Browse your directories and select the JWP src directory, and then press OK 7

  8. Select Your Package Select Your Package • From the JWP src directory select the package you want to reverse engineering it • For example select JWP package and then press Add ALL 8

  9. Start Reverse Engineering Start Reverse Engineering • Now after adding the java classes click on Select ALL and then click on Reverse. • When the process complete click on Done 9

  10. Create UML Diagrams Create UML Diagrams • Go to rational rose main window , then under the logical view you should see your java code within its packaged hierarchy. 10

  11. Create Class Diagram Create Class Diagram • From their you can drag the classes into a new class diagram to see how they are connected. See the image below. 11

  12. Lab Links Lab Links • Check out the following URLs for more info on Rose: – Short videos on creating diagrams: – http://homepages.uel.ac.uk/D.Bowden/

  13. THANKS THANKS 13

Recommend


More recommend