Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Preparing Applications for Deployment > Deploying an Archive File

Deploying an Archive File

It is common for a WebLogic Server administrator to receive the applications from the developers in an archived format consisting of a single file containing all the classes, directories, and deployment descriptor files. The jar utility is used to package the various deployment files into a single deployable file. The jar tool bundles the application or module files in a directory into a single Java ARchive (JAR) file, while maintaining the structure of the application directory. The Java class loader searches a JAR file in the same manner it searches a directory. Thus, both the “exploded directory” format and a JAR file are equivalent when it comes to deploying modules and applications. JAR files are compact and convenient for packaging and copying, and make it easier to distribute applications. They also have an additional advantage over exploded directory deployments because the Administration Console can't copy exploded directories to Managed Servers. Accordin.....ear file archive. The file extension of the jar file produced by the jar utility may have the same or a different file extension, such as .jar, .war, or .rar, depending on the type of application. Here are the file extensions for each type of deployment unit:


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint