Serge Blais

« EDA on a personal... | Main | Need a steaming... »
Tuesday Aug 12, 2008

Need to increase IEP Performance?

Yesterday I started doing some performance testing for a project I am working on. By default, Glassfish is using org.apache.derby.jdbc.ClientDriver for the connection to Java DB. Well IEP is very (very) DB centric, so changing the jdbc driver from ClientDriver to  org.apache.derby.jdbc.EmbeddedDriver made my application go 8x faster. So keep this in mind!

To change the driver in Glassfish, you go to the admin screen (http://localhost:4848 for me);

  1. Select Application Server then
  2. Change the jvm option for the jdbc driver to org.apache.derby.jdbc.EmbeddedDriver
  3.  That's all there is to it!

Comments:

That is a good tip! For more useful tips on improving Java DB performance, take a look here:

http://developers.sun.com/learning/javaoneonline/j1sessn.jsp?sessn=TS-45170&yr=2007&track=3

Louis

Posted by Louis Polycarpou on August 13, 2008 at 06:48 AM EDT #

Post a Comment:
  • HTML Syntax: NOT allowed