Using appc



Keywords: using appc
Description: The appc compiler generates and compiles the classes needed to deploy EJBs and JSPs to WebLogic Server. It also validates the deployment descriptors for compliance with the current specifications at

The appc compiler generates and compiles the classes needed to deploy EJBs and JSPs to WebLogic Server. It also validates the deployment descriptors for compliance with the current specifications at both the individual module level and the application level. The application-level checks include checks between the application-level deployment descriptors and the individual modules as well as validation checks across the modules.

  • The flexibility of compiling an entire application, rather than compiling individual modules separately and combining them into an EAR after the fact.
  • Validation checks across all modules and validation of application-level deployment descriptors against the various modules, because WebLogic Server has access to all modules during EAR compilation.

Without appc, a user wanting to compile all modules within an EAR file had to extract the individual components of an EAR and manually execute the appropriate compiler ( jspc or ejbc ) to prepare the module for deployment. appc automates this process and makes additional pre-deployment validation checks not previously possible.

By contrast, if you defer compilation to the time of deployment and a compilation error occurs, the server fails the deployment and goes on with its work. To determine why deployment failed, you must examine the server output, fix the problem and then redeploy.

  • By running appc prior to deployment, you potentially reduce the number of time a bean is compiled.

    For example, if you deploy a JAR file to a cluster of 3 servers, the JAR file is copied to each of the three servers for deployment. If the JAR file wasn't precompiled, each of the three servers will have to compile the file during deployment.

    J2EE allows you to designate an alternative J2EE deployment descriptor for an EJB or Web application module, using the < alt-dd> element in the <module> element of application.xml.

    You can use < alt-dd> to specify an alternate deployment descriptor only for the J2EE deployment descriptors, web.xml and ejb-jar.xm l. As of WebLogic Server 8.1 SP01, if you specify an alternative deployment descriptor for a module in alt-dd. appc will compile the EJB using the alternative descriptor file.

    For more information about the < alt-dd> element, see “module” in Developing Applications with WebLogic Server.

    In WebLogic Server 8.1 SP01and later, you can use appc command line options to designate alternative J2EE and WebLogic Server deployment descriptors for an application, as shown below:

    • - altappdd < file > —Use this option to specify the full path and file name of an alternative J2EE deployment descriptor file, application.xml .
    • -altwlsappdd < file > —Use this option to specify the full path and file name of an alternative WebLogic application deployment descriptor, weblogic-application.xml






    Photogallery Using appc:


    IMS 12 Migration Workshop.05 IMS APPC and OTMA


    75446 appc


    Improving Battery Life with WorxMail  STA to the Rescue! | Citrix ...


    Introduction to Oracle Procedural Gateway for APPC


    managing-your-db2-for-zos- ...


    UNABLE TO ESTABLISH SESSION - INIT SELF FAILED WITH SENSE 0805000A ...


    Spy software mesenchymal stem cells for gvhd - A Phone Spy App ...


    Administration and Diagnostics Using the WebLogic Administration ...


    System-Wide APPC Connections


    APPC Setup for the Remote Debugger : CICS Setup Requirements


    An APP inhibitory domain containing the Flemish mutation residue ...


    3 Deans


    System-Wide APPC Connections


    75446 appc


    Using the IMS Samples


    Construction Incidents Investigation Engineering Reports ...


    Installing Genymotion - Appcelerator Platform - Appcelerator Docs


    Annex B: High Line Speed Inspection System (HLIS) - Beef - Food ...


    Using the IMS Samples


    APPCA new standardised coding system for trans-organisational ...