The main( ) and serverMain( ) methods

JDBCExamples has two primary methods:

All actions of the JDBCExamples class are invoked by calling one of these methods, using a parameter to indicate the action to be performed.