Oracle
  Home arrow Oracle arrow Page 3 - Managing OC4J and Configuring J2EE Applications
Dev Shed Forums  
Administration  
AJAX  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Smartphone Development  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Mobile Linux  
App Generation ROI  
IBM® developerWorks  
Forums Sitemap  
E-Commerce Hosting  
Linux Web Hosting  
Managed Hosting  
Small Business Hosting  
VPS Hosting  
Weekly Newsletter

 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid  
Request Media Kit
Contact Us  
Site Map  
Privacy Policy  
Support  
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
ORACLE

Managing OC4J and Configuring J2EE Applications
By: McGraw-Hill/Osborne
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: starstarstarstarstar / 5
    2007-02-15


    Table of Contents:
  • Managing OC4J and Configuring J2EE Applications
  • Enterprise JavaBeans
  • Deploying EJBs
  • CERTIFICATION OBJECTIVE 8.02
  • Default OracleAS OC4J Instances

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      error-file:tidyout.log Del.ici.ous error-file:tidyout.log Digg
      error-file:tidyout.log Blink error-file:tidyout.log Simpy
      error-file:tidyout.log Google error-file:tidyout.log Spurl
      error-file:tidyout.log Y! MyWeb error-file:tidyout.log Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article

     
     
    ADVERTISEMENT


    Managing OC4J and Configuring J2EE Applications - Deploying EJBs
    ( Page 3 of 5 )

    You deploy EJBs as well as all the other components of your J2EE application by packaging together all the necessary modules for an application. You put all relevant components into a zipped file, ending with a specific extension denoting the type of file; the Java Virtual Machine will then execute that single file. J2EE applications can have three types of application deployment files, also called archives: JAR files, WAR files, and EAR files.

    JAR Files   JAR (Java Archive) files can represent an application’s EJB application module as well as a client application. The EJB JAR files, which include the Enterprise JavaBeans (EJBs) along with the JSP files, images, and the like are packaged together into one file archive, named a JAR, that’s executed by the Java Virtual Machine as one. JAR files have the extension .jar.

    WAR Files   A WAR (Web Application Archive) file is used to package Web application module components such as HTML pages, servlets, and JSP pages. Typically, a WAR file contains an XML file named web.xml, which serves to describe the various Web components inside the WAR file.

    EAR Files   You use an EAR (Enterprise Archive) file to package an entire enterprise Java application, including both the Java and the Web components, for deployment to OC4J. Therefore, an EAR file can contain both JAR and WAR files. The application.xml XML file included in an EAR file describes the contents of the EAR file.

    Java provides a utility to zip the deployment files, in order to create the three types of archives. You can use the jar utility to create a JAR and a WAR file, as shown here:

      $ jar -cvfM <application-name>.ear
      $ jar -cvfM <application-name>.war



     
     
    >>> More Oracle Articles          >>> More By McGraw-Hill/Osborne
     

       

    ORACLE ARTICLES

    - Oracle's Turn to Play in the Sun
    - Implementing and Using Oracle`s Restore Poin...
    - Tuning PL/SQL Code
    - Debugging PL/SQL Code
    - Testing PL/SQL Code
    - Working With PL/SQL Code
    - Conditional Compilation for Oracle Database ...
    - Compile-Time Warnings for Oracle DB 10g
    - Compiling PL/SQL Code for an Oracle Database
    - Troubleshooting PL/SQL Code
    - Managing PL/SQL Code
    - Data Manipulation and More for HTML DB Appli...
    - Oracle Database Fundamentals
    - Adding Processes to HTML DB Applications
    - Adding Computations, Processes, and Validati...





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 1 Hosted by Hostway
    Stay green...Green IT