# Constants.java Sample

This topic inludes the source code for the Constants.java Sample.

## Sample Location

This sample is located in the following directory in your WebLogic Workshop installation:

BEA_HOME/weblogic81/samples/workshop/ExtensionDevKit/ControlDevKit/DBScripter/dbScript/util/

## Sample Source Code

`01 package dbScript.util; 02 03 public interface Constants 04 { 05 public static final String TAG_CONN = "jc:dbscr-connection"; 06 public static final String TAG_DBSCR = "jc:dbscript"; 07 public static final String ATTR_DS = "data-source-jndi-name"; 08 public static final String ATTR_SF = "script-file"; 09 public static final String ATTR_NEWDSTYPE = "new-data-source-type"; 10 public static final String ATTR_NEWDSNAME = "new-data-source-name"; 11 public static final String ATTR_PROPS = "data-source-properties"; 12 public static final String ATTR_URL = "data-source-url-defaults"; 13 public static final String ATTR_PROMPTURL = "prompt-for-url"; 14 public static final String ATTR_PROMPTUSER = "prompt-for-username"; 15 public static final String ATTR_CREATENOTX = "create-notx-data-source"; 16 public static final String ATTR_ADMINUSER = "wls-admin-user"; 17 public static final String ATTR_ADMINPWD = "wls-admin-pwd"; 18 public static final String ATTR_UB = "batch-size"; 19 public static final String METH_RUNSCRIPT="runScript"; 20 public static final String METH_RUNFILE="runFileScript"; 21 public static final String METH_CREATEDS="create"; 22 public static final String DS_DEFAULT_NOTXSUFFIX="NoTx"; 23 public static final String DS_DEFAULT_POOLSUFFIX="Pool"; 24 public static final String DS_DEFAULT_TYPE="PointBase"; 25 26 public static final String WLSADMIN="weblogic"; 27 public static final String WLSADMINPWD="weblogic"; 28 public static final String VENDORNAME="WorkshopSampleControl"; 29 30 31 }`