Creating a Web Service from a session bean

Application Developer makes it very easy to deploy a session bean as a Web service and make its methods available to clients using SOAP. All the configuration is performed in Application Developer and the resulting Web service is installed in a Web application.

Creating the Web service

To create and install a Web service from a session bean, we run through the pages of a wizard:

  • In the J2EE Hierarchy, select the Banking session bean and New -> Other -> WebServices -> Web Service.
  • In the wizard (Figure 14-12):
    Figure 14-12. Web services wizard

    - The Web service type is preselected as EJB Web service. ...

Get EJB 2.0 Development with WebSphere Studio Application Developer now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.