on 07-21-2009 11:25 AM
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.
You need to decompile to get java code. No need for workspace.
An ear file is a jar file.
A jar file contains files. There can be any type of file in a jar file. That includes other jar files. But there can be class files, media files, text files, anything.
Search for class files. You would need to use a decompiler on each class file (once you find it.)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
An Enterprise ARchive, or EAR, is a file format used by Java EE for packaging one or more modules into a single archive so that the deployment of the various modules onto an application server happens simultaneously and coherently. It also contains XML files called deployment descriptors which describe how to deploy the modules. Maven or Ant can be used to build EAR files.
once you extract the ear file u will get this
1 File Structure
1.1 Modules
1.2 Class isolation
1.3 META-INF directory
I hope that will help
Thanks
User | Count |
---|---|
75 | |
10 | |
10 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.