EAR file

Posted on 2006-06-01
Last Modified: 2008-02-07
Is it possible to covert a EAR file into a workspace so I can open it up in my Ecliplse or WSAD IDE. If it is possible please let me know how.

Question by:suketu9
    LVL 14

    Expert Comment

    Sure You do, You simply have to decompress it first. See here:

    Author Comment

    Above link does not show how to convert ear to workspace so i can just open it in Eclipse or WSAD. What if ear file only have .class file that how can i open it in ide and work on it. please explain
    LVL 14

    Expert Comment

    You won't get much benefit from opening a class file, You still need the source of it. And Yes, usually ear's contains already compiled bytecodes, so there is no easy way to simply edit them with eclipse or any other IDE.
    LVL 6

    Accepted Solution

    If you want to regenerates the code from class file I am using Cavaj Java Decompiler
    Some more tool I list below but Cavaj is the best:
    Decafe java decompiler:
    DJ Java Decompiler : or
    FrontEnd Plus:
    Nmi's Java Code Viewer:
    Howerver, decompiling doesn't help you so much but it is better than nothing.
    Try it if you like.


    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    Return ZipOutputStream using Servlet 2 27
    changePi Challenge 15 57
    allStar challenge 1 27
    count11 challenge 6 35
    INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
    Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
    Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
    This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now