Configuring this project takes approximately 5 minutes.
About this task
The following steps show you how to import and run the sample:
Procedure
- Before you can run the sample, you must first import it
into your workspace.
- Import 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 IBM® WebSphere® Application Server v7.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.