cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Extract java code from Web dynpro application's EAR

Former Member
1,365

Hi,

Is it posiible to extract java code from a web dynpro aplication's .ear file.

Considering that i dont have the worksapce for the application but i have the ear. So it possible that i create a workspace with this ear and get the code.

View Entire Topic
siarhei_pisarenka3
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Deepika

Sometimes in non-productive EARs you may see a source code. Check if file src.zip presents in the EAR's root folder. If you have the file then you can extract it directly in Eclipse Webdynpro project and work with the project.

In other case what you can extract from EAR are compiled binary Java classes (*.class). You cannot restore any project from the compiled classes. The only what you can do in the case is to decompile file-by-file each Java class with help of JAD tool, for example, or any other Java decompiler.

BR, Sergei