WebSphere Extended Deployment, Version 6.0.x
             Operating Systems: AIX, HP-UX, Linux, Solaris, Windows


Create PSSB AccountPartitionBean

About this task

This example will use both the partitioning facility and proxy datasource features. To use the partitioning facility feature, you need to create a partitioned stateless session bean (PSSB).

Procedure

  1. Click File > New > Enterprise Bean to create an enterprise bean.
  2. Type ProxyDSAccountSampleEJB as the project name, then click Next.
  3. Configure the project.
    1. Select the Session Bean field.
    2. Type AccountPartitionBean for the Bean name.
    3. Type com.ibm.websphere.proxyds for the Default package.
    4. Click Next.
    5. Deselect the Remote client view.
    6. Select the Local client view.
    7. Type com.ibm.websphere.wpf.PartitionHandlerLocalHome for the local home and com.ibm.websphere.wpf.PartitionHandlerLocal as the local interface.
    8. Click Finish.
  4. Copy the AccountPartitionBean.java from the extracted ProxyDSAccountSample java code into the workspace. You will see several compilation errors, which you can resolve later.



Related concepts
Developing applications using proxy datasource support in WSAD
Task topic    

Terms of Use | Feedback

Last updated: Oct 16, 2009 11:11:31 AM EDT
http://publib.boulder.ibm.com/infocenter/wxdinfo/v6r0/index.jsp?topic=/com.ibm.websphere.xd.doc/info/WPF51/twpfPSSBAccountPartitionBean.html