MySQL Connector/MXJ 1.1.0 is a Java utility package for deploying and
managing a MySQL RDMS.
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.
Additionally, MySQL Connector/MXJ may be bundled in to an existing Java
application and managed as a plain Java object, 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.
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.
New in the 1.1.0 version are MySQL 4.1.10 resources for the following
platforms:
* Linux x86
* Mac OS X 10.3
* Windows XP/2K/NT x86
* SunOS sparc
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.0 is available for download | Eric Herman | 1 Mar |