This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes how  to open .ear file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "how  to open .ear file" Watch "how  to open .ear file" New topic

how to open .ear file

subbareddy nallamala

Joined: Mar 08, 2006
Posts: 4
i have .ear(enterprise archive file with me)
it has java code , how to i view that code
can any body pls tell
Rob Spoor

Joined: Oct 27, 2005
Posts: 19655

Just like JAR and WAR, EAR is basically a special type of ZIP file. You could use a program like Winzip, Tugzip, 7-Zip or even Windows XP's internal ZIP client.

How To Ask Questions How To Answer Questions
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14074

Or you can use the JAR tool included with the Java SDK to unpack it:

jar xvf myearfile.ear

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
It is sorta covered in the JavaRanch Style Guide.
subject: how to open .ear file
Similar Threads
How to get inside a .ear file
how to export ear for Websphere4 with WSAD5?
Executing ear outside of RAD6
Deploying EAR on Sun One application server