Verifying archive files

Verifying an archive file consists of validating code in the files.

Before you begin

This topic assumes you have assembled an archive file into a module using an assembly tool such as the Application Server Toolkit, Rational Application Developer or Rational Web Developer. Thus, this topic assumes that you have done the following:
  1. Started the assembly tool;
  2. Configured the assembly tool for work on Java 2 Platform, Enterprise Edition (J2EE) modules; and
  3. Migrated an existing module to the assembly tool or created a new module.

About this task

An assembly tool validates code when you request code validation manually, automatically during a resource change, and automatically during a build.

As part of validating the code, the validation checks for the following:

Procedure

  1. Optional: Specify whether you want automatic code validation during a resource change or during a build. The default is for automatic code validation.
    1. In the Project Explorer view, right-click on a project.
    2. Click Properties > Validation.
    3. Ensure that the Run validation options for builds and for automatic validation are selected. Select Override validation preferences to disable automatic code validation.
    4. If you changed the Validation settings, click Apply or OK.
  2. Optional: Specify validation options for a project. The default is to check all validators for a project during code validation. For an enterprise application project, the validators might be for DTD, EAR, Web services, XML, XML schema, or XSL files.
    1. In the Project Explorer view, right-click the project containing the code that you want to validate.
    2. Click Properties > Validation.
    3. Select Override validation preferences.
    4. Select the validators you want checked during code validation.
    5. If you changed the Validation settings, click Apply or OK.
  3. Right-click the project containing the code that you want to validate and click Run Validation to manually validate the code.

Results

The results of the code validation are shown in a Tasks view. For information on the results, select an entry in the Tasks view, press F1, and click Tasks view.

What to do next

If your module uses Web services, refer to Generating code for Web service deployment. Otherwise, you are ready to deploy the module onto the application server.

For EJB modules, you can generate EJB deployment code and deploy the module to a target server in one step. In the Project Explorer view, right-click on the EJB project and click Deploy.




In this information ...


IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic    

Terms of Use | Feedback

Last updated: Sep 20, 2010 11:08:29 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=vela&product=was-nd-mp&topic=tatk_verify
File name: tatk_verify.html