To create a Single Action EJB, do the following:
- In the J2EE perspective of the WebSphere Studio Application
Developer, select from the menu to load
the New Enterprise Application Project window.
- Create a new J2EE 1.3 Enterprise Application project
and its associated EJB module. You can also use an existing EJB module.
- In your Application Developer, right-click the EJB module of your
J2EE project, and select Properties. A window
pops up.
- In the left navigation tree of the new window, select Java
Build Path.
- On the right panel, select the Libraries tab.
- Click the Add External JARs button. The JAR
Selection window pops up.
- Browse to the following .jar files and add them as the
external JARs:
- BTTBase.jar
- BTTFormatter.jar
- BTTServerBean.jar
- BTTServicesInfra.jar
You can find these .jar files in the /jars directory of your toolkit
installation folder.
- Click Add Variable on the right side of
the Properties window. In the New Variable
Classpath Entry window, select the WAS_EE_V51 entry and click Extend.
- In the Variable Extension window that pops
up, you see a folder named lib. Under the lib folder,
select the following .jar files and click OK.
- acwa.jar
- distexcep.jar
- qname.jar
- wsatlib.jar
- wsif.jar
- Right-click the EJB module of your J2EE project, select to
create a session EJB.
- When the wizard prompts for session type, select either Stateful or Statelesss
according to your need.

- When the wizard prompts for the Bean superclass, enter com.ibm.btt.server.bean.BaseSingleAction.
- Click Finish. Your Single Action
EJB is created but is now with errors.
- Write your business logic into the bean based on the methods that
the BaseSingleAction offers.
- Configure your Single Action EJB.
Note that you need to create a corresponding invoker for every Single
Action EJB you create.