WebFacing performance considerations within Eclipse workbench

This section describes steps you can take to improve the performance when developing WebFacing applications within the Eclipse workbench.
  1. Close any projects that are not currently in use or being developed to prevent them from being re-built unnecessarily. Only open them if necessary. From the Navigator view, right click the project and select Close Project.
  2. Show the heap status and run garbage collection on demand. From the Window menu, select Preferences > General > Show heap status. Click the garbage can icon at the bottom of the workbench to run the garbage collector.
  3. To eliminate unnecessary server publishing activity while making changes to an application, set WebSphere® Application Server to not publish automatically. Double-click the server instance in the Servers view, expand Publishing, and select Never publish automatically. Note that if you do this, you have to manually click Publish each time you want to publish.

By default, all WebFacing projects have their JSP Compilation and Validation builders turned off. This improves the overall performance of WebFacing projects in the Eclipse workbench. If you write new JSPs for your project or want resources validated, such as XML files, you may want to turn these builders on so that you can see any errors that exist in these files. Steps to turn builders on or off for a WebFacing project are described below.

If you want to further improve the conversion and deployment performance of a WebFacing project, particularly when dealing with large number of DDS members, follow these steps:

  1. Create your WebFacing project without converting the DDS members in the last page of the project creation wizard.
  2. After the project is created, switch to the Navigator view, right-click your newly created project, and select Properties. In the Properties Dialog, click on Builders.
  3. Deselect all builders except for Java™ Builder and WebFacing Builder.
  4. To find out what each of the builders are responsible for, please consult the list below. You may choose to turn on some of these builders after the conversion and deployment process is completed so that the project can take advantage of all the capabilities provided by the Eclipse workbench for a Web project.

    Note that these changes have no impact on runtime performance of deployed WebFacing applications.

    Builders

    It is recommended to re-enable builders noted with an asterisk (*) after conversion and deployment.

    • Faceted Project Validation Builder *

      This builder validates the integrity of all the facets associated with the project.

    • Validation

      This task performs validation on various files, including JSP and XML files. You can see the list of the validations by selecting Window > Preferences, and then clicking on Validation.


Feedback