posted 10 years ago
Hello there
For your questions
1/ Each database has it's own jdbc driver, hence its own driver class that you need to specify in code if using JDBC3. For JDBC4 this is not needed.
Different DB has its own jdbc url. For example, mysql is "jdbc:mysql://localhost:3306/myschema" and mssql "jdbc:sqlserver://localhost:1433;databasename=myschema"
2/ there are a few database products that are free: mysql community, postgresql, oracle XE, sql server express, DB2 express.
With data? I doubt. Maybe those database that comes with an app. Under such apps, usually they use derby (yet another free database).
K. Tsang CEng MBCS PMP PMI-ACP OCMJEA OCPJP