MySQL Connector/MXJ 1.1.6 is a Java utility package for deploying and
managing a MySQL RDBMS.
New in the 1.1.6 version are MySQL 4.1.13 resources for the following
platforms:
* Linux x86
* Mac OS X 10.3, 10.4
* Windows XP/2K/NT x86
* SunOS sparc
And I'd like to extend a special thanks to user David Rodgers for his
high quality bug reporting and hard work.
MySQL Connector/MXJ may be bundled in to an existing Java application
and managed as a POJO (Plain Old Java Object), a Connector/J
SocketFactory, or may be deployed as a JMX MBean. This makes it easy
for Java developers to deploy applications which require a database
by reducing installation barriers for their end-users.
Adding a MySQL database to a Java application can be as easy as:
1) adding the Connector/J and Connector/MXJ .jar files to the CLASSPATH
2) add one parameter to the JDBC connection string:
String url = "jdbc:mysql://localhost:3306/?"
+ "socketFactory="
+ ServerLauncherSocketFactory.class.getName();
By adding this parameter, the Connector/J JDBC driver will
automatically deploy and launch the MySQL database with the first
connection.
In order for MySQL Connector/MXJ to make the MySQL database appear to
be a java-based component, It determines what platform the system is
running on, selects the appropriate binary, and launches the
executable. It will also optionally deploy an initial database, with
any specified parameters.
As a JMX MBean, MySQL Connector/MXJ requires a JMX v1.2 compliant
MBean container, such as JBoss version 4. The MBean will uses the
standard JMX management APIs to present (and allow the setting of)
parameters which are appropriate for that platform.
Included are instructions for using a JDBC extension as well as
deploying to JBoss. Please, be sure to read the "README" file. (or
index.html)
Also included is a POJO usage example:
ConnectorMXJObjectTestExample.java
and a Connector/J SocketFactory example: ConnectorMXJUrlTestExample.java
You can download sources and binaries from:
http://dev.mysql.com/downloads/connector/mxj/1.0.html
Some mirrors may take a while to update.
Remember, feedback is welcome and encouraged.
Please send questions/comments to java@stripped.
--
Eric Herman, Software Developer
MySQL AB, www.mysql.com
Office: +1 206 720 1724 VoIP: 6594
Are you MySQL certified? www.mysql.com/certification
| Thread |
|---|
| • MySQL Connector/MXJ 1.1.6 is available for downlaod | Eric Herman | 1 Sep |