reverse engineer a web application

I loaded an existing web application to JS2E 8.1 (new project/web/web with existing sources) & created a web application project called WebApp. I compiled with no errors and even created a build.

Then I tried to reverse engineer the WebApp project to generate the UML diagrams for the java classes that are in the project (new project/UML/reverse engineer a java project). I defined the location of the WebApp project but it is not recognized as a java project on the java project drop-down box. Any ideas why? Does the UML only work with java apps and not web-java apps?

Is there an easier way to generate my UML's from my WebApp project?

Thanks,

ilikejosie :)

[697 byte] By [ilikejosiea] at [2007-11-27 4:01:03]
# 1

I tried to replicate the issue you have but unable to. One thing I could think of is if you don't have the web app project open in JSE 8.1 then it's not included in the drop-down list. Could you please confirm if the web app project is open in JSE 8.1 before creating the UML project? If you already have this, here's what I'd suggest to try.

- Close and reopen the web app project

- create UML project by reverse engineering a java project again to see if it's listed

Another way to reverse engineer a java project is to right click on the web app project from the project view window, then select "Reverse Engineer..." from the popup menu.

petersla at 2007-7-12 9:05:44 > top of Java-index,Development Tools,Java Tools...
# 2

I found out the problem. I did not have WEB-INF\src folder in the project that I was using. I noticed that any new java project had this, and some existing java projects had this, but not mine.

I used another reverse engineering modeling tool called Visual Paridgm to generate the source code folder because JSE doesnt have that capability. I then added the source to my project. I reopened my project in JSE to reverse engineer and I was able to get through all the steps.

I'll just have to make sure the next time I receive a jar file from a developer that it will have all the importent contents, especially src folder.

Thanks !

ilikejosiea at 2007-7-12 9:05:44 > top of Java-index,Development Tools,Java Tools...