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

seng 426 seng 426
SMART_READER_LITE
LIVE PREVIEW

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


slide-1
SLIDE 1

SENG 426 SENG 426

Tool Presentation Tool Presentation

1 ~ Prepared by Sherif Saad ~ Spring 2009 ~

slide-2
SLIDE 2

Reverse Engineering Reverse Engineering

  • Go to Tools and select  Java/J2EE  reverse engineering

~ Prepared by Sherif Saad ~ Spring 2009 ~ 2

slide-3
SLIDE 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

slide-4
SLIDE 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

slide-5
SLIDE 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

slide-6
SLIDE 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

slide-7
SLIDE 7

Select JWP src directory Select JWP src directory

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

7

slide-8
SLIDE 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

slide-9
SLIDE 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

slide-10
SLIDE 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

slide-11
SLIDE 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

slide-12
SLIDE 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/

slide-13
SLIDE 13

THANKS THANKS

13