Sybase Enterprise Beans Configuration

Step 1 Step 2 Step 3 Step 4


Step 3: Install and Deploy the Enterprise Beans

  1. From the Topology view in the Application Server Administrator's Console, expand the tree until the Default Container is displayed.
  2. Click once to select the Default Container and right-click once.
  3. Select Create Enterprise Bean.
    • JAR File: Click Browse. Navigate to the <was_root>/deployableEJBs directory.
      • Double-click the JAR file to display the various ".ser" (deployment descriptor) files included within. (There is only one ".ser" file per JAR file in the Samples.)
      • Double-click the name of the ".ser" file that corresponds to the bean you are adding.
      • Confirm the deployment of the JAR file by choosing "Deploy Only" (if it is not already deployed). Wait for the bean to deploy - this may take several seconds.
      • Click OK on the window indicating that the bean was deployed successfully.
      • Click OK on the "Create Enterprise Bean" window to finish the bean creation.
  4. Expand the Default Container on the left side of the window.
  5. Click once on the bean you just deployed. View the bean and ensure that the properties are filled in correctly.
  6. Stop and Start the Default Server:
    • Select the Topology view
    • Expand the tree until the Default Server is displayed
    • Right-click on the Default Server and choose "Stop"; the wheel icons indicating the server's status should be red and white
    • Once the server is stopped, right-click again and choose "Start"; the wheel icons indicating the server's status should be blue and white.


Take Note!
  • When a bean is installed, its JAR file is automatically appended to the CLASSPATH environment variable.
  • By default, the JAR file is placed in the directory named <was_root>/deployedEJBs, or in the directory specified when the IBM WebSphere Application Server Advanced Edition was installed.