Home

 

Creating bottom-up Web services from a JavaBean

In this section, we create a Web service from an existing Java class using the bottom-up approach. The imported application contains a Java class called SimpleBankBean, which has various methods to get customer and account information from the bank. We can either use the Web Service wizard to generate the Web service, or use the annotations directly. The Web Service wizard will inject annotation to the delegate class derived from the JavaBean. So these two approaches are essentially the same.

ibm.com/redbooks