Providing Web Services

Description

In BBj 9.x and lower, follow the steps listed below to provide a Web service:

1. Write BBj code that uses JavaBBjBridge to communicate with a calling program.

2. Optionally, you can extend the two Java classes, BBjWS and BBjWSImpl, found in the com.basis.bbj.webservice package.

3. Configure a Web Server to provide Web services.

4. Deploy the Java classes on the Web server.

For information about using JavaBBjBridge, see Java BBjBridge.

For information about configuring a Web Server and deploying a Web service, see the documentation for your specific Web server. Tomcat is one Web server available without charge from www.java.sun.com.

If you deploy the BBjWS and BBjWSImpl classes as a Web service, the consumer can run any BBj program that is available on your machine. By extending BBjWS and BBjWSImpl, you can control which programs are available to the consumer of your program.

For an example of a Web service implemented by extending BBjWS and BBjWSImpl, see the BASIS Advantage articles

See Also

Consuming Web Services

Enterprise Manager - Web Service Configuration for BBj 10.0 and higher



______________________________________________________________________________________

Copyright BASIS International Ltd. BBj®, Visual PRO/5®, PRO/5®, and BBx® are registered trademarks.