Marco Walther's Weblog

« Previous day (Sep 11, 2005) | Main | Next day (Sep 13, 2005) »

20050912 Monday September 12, 2005

Creator 2 EA WebApps and Oracle

Creator uses a lot of features in the JDBC 3.0 specification to create a good design time experience. For instance it uses table metadata to prepopulate the columns in the table component. But not all JDBC drivers support everything we would need and especially the Oracle JDBC drivers don't give us the metadata when we need them.

That's normally not a problem because Creator comes with a set of JDBC drivers, which will be used at design time and for the internal deployments. But those drivers are licensed only with Creator or with the Sun Java Enterprise System's Application or Web Server's. So if you want to deploy the application to a different container, you'll have to find JDBC driver's.

You don't have to use the same drivers for the development and deployment. So it's ok, to use Creator's Oracle drivers at design time and Oracle's set for the deployment. You could even use a completely different DB as long as the table layout etc. is the same;-)

I (or our SQA) tested the following drivers with a Oracle 9i database:

I configured Tomcat in it's global server.xml. I don't know if that's the best way, but it was certainly the easiest way. It looked like:

      
        

      

Of cource, Oracle is only one database but I believe the general idea of possibly using different JDBC drivers will work for others as well.

( Sep 12 2005, 10:04:45 AM PDT ) Permalink Comments [1]