Validating code in enterprise applications

The workbench provides manual code validation, code validation during a build, and automatic code validation of project resources. Manual code validation is explicitly invoked by the user, and it immediately validates the resources contained in a selected project. Build validation occurs when you manually invoke a build. Automatic code validation occurs whenever an automatic incremental build occurs as a result of a resource change, such as when a project is created, a .java file is edited, or a model file (such as ejb-jar.xml, .mapxmi, .rdbxmi, or ibm-ejb-jar-ext.xmi) is changed or saved. By default, manual code validation and automatic code validation are enabled in the preferences.

On the Properties page for each enterprise application module project, you will find a list of validators that you can run against a selected project. The list of validators is different for each type of project. For example, an enterprise application project has the following validators:

Related reference
Common validation errors and solutions
J2EE Validators
Terms of use | Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.