[jboss-dev-forums] [Design of JBoss Build System] - AS5 / Java6 build

dimitris@jboss.org do-not-reply at jboss.com
Sun Dec 2 13:08:14 EST 2007


Copying here from the jboss-dev list.

Adrian wrote:anonymous wrote : 
  | I've got JBoss Head compiling with Java6.
  | 
  | I managed to avoid using a preprocessor for the JDBC rar
  | but only by using reflection to decide which
  | version of the code is in the classpath, i.e. JDK5/JDK6
  | 
  | The reflection is only done once. but
  | there is more duplicate code that there would otherwise be.
  | 
  | e.g. WrappedPreparedStatementJDK6 can't extend
  | both WrappedPreparedStatement and WrappedStatementJDK6  :-) 
  | 
  | I haven't implemented the Wrapper interface fully.
  | This will need a revisit where it needs to "recursively"
  | check whether the object we wrap is itself a wrapper.
  | 
  | I also "commented out" the DataSourceInterceptor in varia.
  | I didn't convert it to JDK6.
  | 
  | As far as I can tell, this is not included in the distribution,
  | not even in docs/examples/varia. 
  | Alex you wrote this what is happening with this?
  | 
Alexey wrote:
anonymous wrote : 
  | The DataSourceInterceptor and other classes in that package were developed when I was working on the SPECjAppServer benchmark a few years ago. The goal was to collect statistics about SQL statements executed in a test run and per transaction. Which allowed to tune the CMP engine.
  | Here is a wiki page that describes how to use them http://wiki.jboss.org/wiki/Wiki.jsp?page=StatisticsCollector
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109656#4109656

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109656



More information about the jboss-dev-forums mailing list