Configuring this project takes approximately 5 minutes.
The following steps show you how to import and run the sample:
- Before you can run the sample, you must first import it into your
workspace.
- Import the sample.
- In the Import Project dialog box, accept the defaults and click Finish.
- To run the program:
- Ensure there are no errors listed in the Problems view. From
the Servers view, start the WebSphere Application Server instance.
This sample will run on either IBM® WebSphere® Application Server v7.0,
or IBM WebSphere Application
Server v6.1 with the IBM WebSphere Application Server Version 6.1 Feature
Pack for EJB 3.0.
- Right-click the started server instance and select Add/Remove
Projects. Add the SimpleCalculatorEJB3EAR to the configured project
list and click Finish.
- In the Enterprise Explorer view, expand the SimpleCalculatorWeb
project and expand the WebContent folder. Right-click the Calculator.jsp file,
and select Run As > Run on Server.
- In the Run ON Server wizard, select the previously started server
instance and click Next.