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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.