Generating an Implementation
You generate an implementation by generating the servlet and then using the Code Generation Details dialog.
Procedure
- Select Properties General > Validation Report, and click the fix... link.
- Click Generate Servlet Implementation.
- Using the Canvas control, right-click the component and select Quick Fixes > Generate Servlet Implementation.
- Right-click the component and select Generate Servlet Implementation.
- In the Problems view, right-click an error of the form "Component <ComponentName> is not configured" and select Quick Fix.
- In the Quick Fix dialog, click Generate Servlet Implementation.
-
Click
Finish.
The Code generation details dialog displays.
- Complete the process described in Generate WebApp Component Implementation.
-
Click
Finish.
A WTP implementation is generated.The WebContent folder contains items to be published to the server. By default, this folder will be named WebContent for newly created static and dynamic Web projects.
- META-INF — This directory contains the MANIFEST.MF file, which is used to map class paths for dependent JAR files that exist in other projects in the same Enterprise Application project. An entry in this file will update the run-time project class path and Java build settings to include the referenced JAR files.
- WEB-INF — The directory where supporting Web resources for a Web application are kept (for example: .xmi files, .xml files, and web.xml.)
Copyright © 2022. Cloud Software Group, Inc. All Rights Reserved.