|
WebCab Portfolio Demo v4.2 (J2EE Edition) |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Home interface of the SolveFrontierJDBC Enterprise JavaBean. Use this interface to establish a JDBC connection to your database, by specifying the following when invoking the creation methods:
The name of the driver distributed by your DBMS vendor. For example, if you wish to connect to Oracle9i the driver name you will use will be "oracle.jdbc.driver.OracleDriver".
The url is database vendor specific as well and will describe the name of the server, the database port number and maybe a service name. Under Oracle9i the URL you would use would have the following format:
jdbc:oracle:thin:@servername:1521:service
The username and password are in most cases indispensable when connecting to any database.
This variable may be left null in most cases. It
should be used in order to transfer properties additional to
username and password.
SolveFrontier| Method Summary | |
SolveFrontierJDBC |
create()
Creates a SolveFrontierJDBC bean that encapsulates a SolveFrontier instance and allows you to invoke SQL queries on every of its methods using its internal jdbc/SolveFrontierInputDB and
jdbc/SolveFrontierOutputDB DataSource references. |
SolveFrontierJDBC |
create(String driverName,
String url,
String user,
String password,
Properties info)
Creates a SolveFrontierJDBC bean that encapsulates a corresponding SolveFrontier component. |
SolveFrontierJDBC |
create(String inputDriverName,
String inputURL,
String inputUser,
String inputPassword,
Properties inputInfo,
String outputDriverName,
String outputURL,
String outputUser,
String outputPassword,
Properties outputInfo)
Creates a SolveFrontierJDBC bean that encapsulates a corresponding SolveFrontier component. |
| Methods inherited from interface javax.ejb.EJBHome |
getEJBMetaData, getHomeHandle, remove, remove |
| Method Detail |
public SolveFrontierJDBC create()
throws SQLException,
ReferencedServiceException,
CreateException,
RemoteException
jdbc/SolveFrontierInputDB and
jdbc/SolveFrontierOutputDB 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 SolveFrontier component.
SQLException
ReferencedServiceException
CreateException
RemoteExceptionSolveFrontierHome.create()
public SolveFrontierJDBC create(String inputDriverName,
String inputURL,
String inputUser,
String inputPassword,
Properties inputInfo,
String outputDriverName,
String outputURL,
String outputUser,
String outputPassword,
Properties outputInfo)
throws SQLException,
ReferencedServiceException,
CreateException,
RemoteException
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
ReferencedServiceException
CreateException
RemoteExceptionSolveFrontierHome.create()
public SolveFrontierJDBC create(String driverName,
String url,
String user,
String password,
Properties info)
throws SQLException,
ReferencedServiceException,
CreateException,
RemoteException
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
ReferencedServiceException
CreateException
RemoteExceptionSolveFrontierHome.create()
|
WebCab Portfolio Demo v4.2 (J2EE Edition) |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||