In this part of testing we will create a Stateful Session EJB which will utilize the Stateless EJB created in the Part 1 of the Environment Testing series.
NOTE: The source code for this part of testing can be downloaded as a zip archive.
The Part 2 is using the created in Part 1 Calculator project with StatelessCalculator bean. If you did not go through Part 1, you can import the Calculator project from the archive:
Click the File > Import > General > Existing Projects into Workspace menu.
Make sure the Select archive file radio button is selected: