About this task
In this step, you will create a partition routable session
bean (PRSB) AccountTransaction in WebSphere Studio
Application Developer (WSAD) Version 5.1. This session bean will serve
as both a routable bean and facade bean to access the container-managed
persistence (CMP) Enterprise JavaBeans (EJB).
Procedure
- Click File > New > Enterprise Bean to create an
EJB.
- Enter ProxyDSAccountSampleEJB as the project name
then click Next.
- Configure the project.
- Select the Session Bean field.
- Type AccountTransaction for the Bean name.
- Type com.ibm.websphere.proxyds for the Default
package.
- Click Next.
- Accept all defaults.
- Click Finish.
- Copy the AccountTransaction.java, AccountTransactionBean.java from
the extracted ProxyDSAccountSample java code into the workspace.
You will see several compilation errors, which you can resolve
later.