Wednesday 5 August 2015

Converting UML Diagram into Source Code Steps

FORWARD ENGINEERING FOR CONVERTING UML DIAGRAM INTO SOURCE CODE STEPS:

1. Open Rational Rose: Go to start->programs->Rational software->Rational Rose Enterprise Edition click it.
2. Right click on UNTITLED on the top left corner of rational rose tool to name the project title and save it.
3. Right click on logical view->new->Class diagram. Give the name of the class diagram and double click it.
4. Draw the class diagram and select the diagram.
5. Go to TOOLS->JAVA/J2EE->click GENERATED CODE.
6. After completion of 5th step go to C:\Program Files\Rational Rose Ent\common. Check your code.

REVERSE ENGINEERING STEPS:

1. Write any source code program(using any oops programming language and compile eg:JAVA)
2. Open Rational Rose: Go to start->programs->Rational software->Rational Rose Enterprise Edition click it.
3. Right click on UNTITLED and select save and give the name.
4. Go to TOOLS->JAVA/J2EE->click on REVERSE ENGINEER. Open Your JAVA program (using click on Edit Path).
5. Select java program and click ADD.
6. Again Select java program and click on reverse. And click on done button.
7. Go to logical view on the rational rose tool drag your class diagram on to the work space area.

Note: The entire Procedure is recorded in the video format for easiest understanding/Navigation.


---------------------------------------------------------------------
Article By:
GV Prasad
Assoc. Professor
CSE Department 
Sphoorthy Engineering College

Sphoorthy Engineering College


No comments:

Post a Comment