aspose file tools*
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
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "how  to open .ear file" Watch "how  to open .ear file" New topic
Author

how to open .ear file

subbareddy nallamala
Greenhorn

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
Sheriff

Joined: Oct 27, 2005
Posts: 19697
    
  20

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.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14162
    
  19

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to open .ear file