Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reverse-engineer Petstore

 
Dhanush Dharsh
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried reverse-engineer Petstore using rational rose 2003. I am not able to get it done yet. If anyone was successfull in reverse-engineering the same, kindly guide me. Any help is highly appreciated.
 
Harvey
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not recommended. Even you reverse it, what you got are classes only, the relationship between them is not well-organized.
If you do want to reverse it, better put all the java class (must maintain the original package directory structure) into one src directory
something like
src\com\sun\j2ee\blueprints\address\
...........................\admin\
...........................\cart\
in Rose, load J2EE v1.3 sub-unit first.
=>tools=>java/j2ee=>reverse engineer
edit classpath, must put in all the auxiliary third-party libs found under petstore directory, also put the above directory in the classpath.
Then click "Add Recursive", "Select all" and click "reverse" (it takes quite a long time, maybe 20 minutes).
After that, go to Rose's "Logic View", you will find a package named "com", all the reversed classes are under it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic