![]() |
![]() |
![]() |
![]() |
In this step you will create a Utility project to house your control so they can be used by multiple modules in an application.
In this step, you will:
If you haven't started Workshop yet, follow these steps: Start Workshop.
To Create a New Workspace (Optional)
If you would like to execute the tutorial in a separate workspace follow these steps: Create a New Workspace.
Note: If you already have a workspace open, this will restart Workshop. Before beginning, you might want to launch help in standalone mode to avoid an interruption the restart could cause, then locate this topic in the new browser. See Using Help in a Standalone Mode for more information.
If you are using Workshop for WebLogic, skip this step and go directly to the next step.
If you are a Workshop Studio or Workshop for JSP user, follow these instructions in install the WebLogic Server domain for Workshop:
This server domain contains runtime libraries required by the tutorial application.
An utility project contains shared code that can be used across multiple different projects.
In this step you will create the control to be tested.
package sharedcontrols;
import org.apache.beehive.controls.api.bean.ControlImplementation;
import java.io.Serializable;
@ControlImplementation
public class EmployeeControlImpl implements EmployeeControl, Serializable {
private static final long serialVersionUID = 1L;
public String[] getManagerNames() {
return new String[]{"Jane","Bob","Amy"};
}
}
![]() ![]() |