JOB REFERRALS
    ON THIS PAGE
    ARCHIVES
    CATEGORIES
    BLOGROLL
    LINKS
    SEARCH
    MY BOOKS
    DISCLAIMER
 
 Sunday, March 19, 2006
At last, a minor but annoying nit in Java, fixed

Mustang, the latest JDK (to be called Java6 on its release), fixes a minor but very annoying nit that's bugged Java developers for years: "if a JDBC driver is packaged as a service, you can simply (leave out the call to Class.forName() to bootstrap the driver class into the JVM). ... The DriverManager code will look for implementations of java.sql.Driver in classpath and do Class.forName() implicitly." It's never been a huge deal in Java, to have to explicitly bootstrap the JDBC driver into the JVM before being able to obtain a Connection from it, but it's always been annoying, and inexplicable, given the Service Provider mechanism that's been there for a couple of releases now.

Next up: do the same for JNDI and XML parsers (and do away with the extensions directory while we're at it!), and let's start making all of these factories a bit more practical to use on a larger basis. It would be nice if this mechanism had percolated through other tools and areas, such as servlets, but it's probably too late to correct for that now.


Java/J2EE

Sunday, March 19, 2006 2:07:44 AM (Pacific Daylight Time, UTC-07:00)
Comments [0]  |  Related posts:
"Pragmatic Architecture", in book form
Phishing attacks know no boundaries... or limits
2009 Predictions, 2008 Predictions Revisited
The Myth of Discovery
Explorations into "M"
REST != HTTP
Tracked by:
"http://9nw-information.info/89248145/can-a-horse-get-a-warble.html" (http://9nw... [Pingback]
"http://9nn-information.info/40095048/hyatt-long-island-ny.html" (http://9nn-inf... [Pingback]
"http://9nq-information.info/55503066/index.html" (http://9nq-information.info/5... [Pingback]
"http://9ng-information.info/40137806/index.html" (http://9ng-information.info/4... [Pingback]
"http://9nu-information.info/02964477/index.html" (http://9nu-information.info/0... [Pingback]
"http://9nl-information.info/10715190/digital-photo-equipment.html" (http://9nl-... [Pingback]
"http://9nm-information.info/58937388/egar-case-health-care.html" (http://9nm-in... [Pingback]