WebCab Bonds Demo
(J2EE Edition)

com.webcab.ejb.finance.interest.jdbc
Interface EffectiveAndNominalInterestJDBCHome

All Superinterfaces:
EJBHome, Remote

public interface EffectiveAndNominalInterestJDBCHome
extends EJBHome

Home interface of the EffectiveAndNominalInterestJDBC Enterprise JavaBean. Use this interface to establish a JDBC connection to your database, by specifying the following when invoking the creation methods:

This home interfaces defines every method from the EffectiveAndNominalInterestHome home interface with either one input/output database connection or two different input and output database connections. It also provides a create method which uses your Application Server DataSource Connection Pools as defined at deployment time. Every connection is defined as described above.

See Also:
EffectiveAndNominalInterest

Method Summary
 EffectiveAndNominalInterestJDBC create()
          Creates a EffectiveAndNominalInterestJDBC bean that encapsulates a EffectiveAndNominalInterest instance and allows you to invoke SQL queries on every of its methods using its internal jdbc/EffectiveAndNominalInterestInputDB and jdbc/EffectiveAndNominalInterestOutputDB DataSource references.
 EffectiveAndNominalInterestJDBC create(String driverName, String url, String user, String password, Properties info)
          Creates a EffectiveAndNominalInterestJDBC bean that encapsulates a corresponding EffectiveAndNominalInterest component.
 EffectiveAndNominalInterestJDBC create(String inputDriverName, String inputURL, String inputUser, String inputPassword, Properties inputInfo, String outputDriverName, String outputURL, String outputUser, String outputPassword, Properties outputInfo)
          Creates a EffectiveAndNominalInterestJDBC bean that encapsulates a corresponding EffectiveAndNominalInterest component.
 
Methods inherited from interface javax.ejb.EJBHome
getEJBMetaData, getHomeHandle, remove, remove
 

Method Detail

create

public EffectiveAndNominalInterestJDBC create()
                                       throws SQLException,
                                              CreateException,
                                              RemoteException
Creates a EffectiveAndNominalInterestJDBC bean that encapsulates a EffectiveAndNominalInterest instance and allows you to invoke SQL queries on every of its methods using its internal jdbc/EffectiveAndNominalInterestInputDB and jdbc/EffectiveAndNominalInterestOutputDB DataSource references. This method does not require JDBC Connection properties as it relies on the Input and Output JDBC DataSource references configured at deployment time.

Notice that this creation method has the same parameters as the creation method from the EffectiveAndNominalInterest component.

SQLException
CreateException
RemoteException
See Also:
EffectiveAndNominalInterestHome.create()

create

public EffectiveAndNominalInterestJDBC create(String inputDriverName,
                                              String inputURL,
                                              String inputUser,
                                              String inputPassword,
                                              Properties inputInfo,
                                              String outputDriverName,
                                              String outputURL,
                                              String outputUser,
                                              String outputPassword,
                                              Properties outputInfo)
                                       throws SQLException,
                                              CreateException,
                                              RemoteException
Creates a EffectiveAndNominalInterestJDBC bean that encapsulates a corresponding EffectiveAndNominalInterest component. The JDBC specific parameters are used to create the JDBC connections, while the others are used to initialize the EffectiveAndNominalInterest Enterprise component.

Parameters:
inputDriverName - The name of the driver used for the input connection.
inputURL - The URL that describes the input connection address.
inputUser - The input connection username.
inputPassword - The input connection password.
inputInfo - Additional input connection properties, null for none.
outputDriverName - The name of the driver used for the output connection.
outputURL - The URL that describes the input connection address.
outputUser - The output connection username.
outputPassword - The output connection password.
outputInfo - Additional output connection properties, leave null for none.
SQLException
CreateException
RemoteException
See Also:
EffectiveAndNominalInterestHome.create()

create

public EffectiveAndNominalInterestJDBC create(String driverName,
                                              String url,
                                              String user,
                                              String password,
                                              Properties info)
                                       throws SQLException,
                                              CreateException,
                                              RemoteException
Creates a EffectiveAndNominalInterestJDBC bean that encapsulates a corresponding EffectiveAndNominalInterest component. The JDBC specific parameters are used to create the JDBC connection, while the others are used to initialize the EffectiveAndNominalInterest Enterprise component.

Parameters:
driverName - The name of the driver used for establishing the connection.
url - The URL that describes the connection address.
user - The username to use when establishing the connection.
password - The password to use when establishing the connection.
info - Additional JDBC properties. Leave null for none.
SQLException
CreateException
RemoteException
See Also:
EffectiveAndNominalInterestHome.create()

WebCab Bonds Demo
(J2EE Edition)