Chapter 8 Working with Web Services


Working with the EJB Web service in WorkSpace

Deploying the EJB Web service

Steps To deploy the EJB Web service:

  1. Select Run → Ant Build command in the build.xml contextual menu.

    Make sure the Deploy action in the Targets tab is selected before running the command
  2. Refresh project files, you should see new files: Client_project name.jar, project name.jar, project name.war, and project name.ear.
  3. Right-click the file component name.svc_ejb and select Create Sybase Services Package Profile.
  4. Right-click the file component name.svcpkgdef and select Build the Package.
  5. Right-click the file component name.svcpkg and select Deploy

Implementing the EJB Web service

After generating the EJB Web service in PowerDesigner, you can open it with the Java Service Editor to further implement it.

Steps To open the EJB Web service in the Workspace Java Service Editor:

  1. Right-click the .svc_ejb file in the Navigator window and select Open with→Java Service Editor.

    The Java Service Editor tab is displayed in the Editor area.
  2. Click the Interface sub-tab to display the Service Interface tab.
  3. Resume service implementation.

For more information on the Java Service Editor, see corresponding documentation.

 


Copyright (C) 2007. Sybase Inc. All rights reserved.