MySQL Lists are EOL. Please join:

List:Announcements« Previous MessageNext Message »
From:Eric Herman Date:May 8 2007 5:41pm
Subject:MySQL Connector/MXJ 5.0.6-beta is available for download.
View as plain text  
MySQL Connector/MXJ 5.0.6-beta is available for download.

MySQL Connector/MXJ 5.0.6-beta is a Java utility package for deploying
and managing a MySQL RDBMS.

New in the 5.0.6-beta version are MySQL 5.0.37 server community binaries
and related resources for the following platforms:
* Linux x86
* Mac OS X 10.3/10.4 ppc/x86
* Windows XP/2K/NT x86
* SunOS sparc
Platforms can easily be added or removed from connector-mxj-db-files.jar

MySQL Connector/MXJ may be bundled in to an existing Java application
and managed as a POJO (Plain Old Java Object) or launched as part of a
creating a Connector/J connection.

This makes it easy for Java developers creating an application that uses
JDBC through MySQL Connector/J 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) configuring the CLASSPATH to include:
      * Connector/J 5.0 (mysql-connector-java-5.0.5-bin.jar)
      * Connector/MXJ classes (connector-mxj.jar)
      * Connector/MXJ resources (connector-mxj-db-files.jar)
      * Aspect/J Runtime (connector-mxj/lib/aspectjrt.jar)

2) create a JDBC connection string:
      String url = "jdbc:mysql:mxj://localhost:3306/";

With Connector/J 5.0, simply adding "mxj:" will signal the Connector/J
JDBC driver to 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.

Included is a POJO usage example: ConnectorMXJObjectTestExample.java
and a Connector/J URL example: ConnectorMXJUrlTestExample.java
Each are located in the top level of connector-mxj.jar.

You can download sources and binaries from:

http://dev.mysql.com/downloads/connector/mxj/5.0.html


Remember, feedback is welcome and encouraged.
Please send questions/comments to java@stripped

-- 
Eric Herman, Software Developer
MySQL AB, www.mysql.com
VoIP Ext: 6594   US: +1 408 213 6540  Europe: +46 18 174 400
Mobile: +31 62 07 19 662   Netherlands: 062 07 19 662
Are you MySQL certified?  www.mysql.com/certification
Thread
MySQL Connector/MXJ 5.0.6-beta is available for download.Eric Herman8 May