Re: [JSPDBAdmin-Developers] [TODO]
Status: Planning
Brought to you by:
aalmenar
From: Adrian A. <aal...@ca...> - 2002-08-09 12:12:07
|
> Initial package structure: > *************************** > > The initial package structure I propose is > org.jspdbadmin.<database> ( For now, we have oracle and mysql. Here > come the database specific classes.) > org.jspdbadmin ( Here go the mediator classes) > org.jspdbadmin.utils (Here go the helper/utility classes) +1 > > One question my side is why the classes > OracleDataSource > MySQLDataSource extend DataSource? What is the logic behind it? I > think DataSource implementors are database vendors. Correct me if I'm wrong. OK, OracleDataSource extends DataSource (JDBC 2.x) and set the driver manager, so we can use the same jdbc api (2.x, 3.x), te only thing that changes is the datasource. each of these files loads and configures the database to use with DataSource. (You will see it looking at JDK 1.4 javax.sql.DataSource class) > Adrian, can I request you to draft a notes containing the purposes that we > are going to achieve. We can start with some initial steps. We can always > add more. OK, i will review it today and send to the list by tonight (Home time) > > Ramana. > Adrian |