Using an Existing Database Control

This topic describes how to use an existing Database control in your web service.

To learn about controls, see the Controls Overview.

To learn about Database controls, see Database Control: Using a Database from Your Web Service.

To learn how to create a Database control, see Creating a New Database Control.

# Using an Existing Database Control

All controls follow a consistent model. Therefore, most aspects of using an existing Database control are identical to using any other existing control.

To learn about using an existing control, see Using an Existing Control.

# Customizing a Database Control

There are Javadoc tags and tag attributes that are specific to the Database control. If you choose to copy and customize an existing Database control, the tags and attributes you may wish to modify are:

- @jws:connection tag
  For more information, see @jws:connection Tag.

- @jws:sql tag
  For more information, see @jws:sql Tag.

# DatabaseControl Interface

All Database controls are subclassed from the DatabaseControl interface. The interface defines methods that may be called on Database control instances from a web service.

See DatabaseControl Interface.

Related Topics

CTRL Files: Implementing Controls