To apply the CMR/CMP technology discussed here you will need BEA WebLogic 8.1 application server installed and properly working and MySQL 4.0.16 database server with MySQL Connector/J 3.0.11. To build the code, you'll also need Apache Ant 1.6.2 and of course Java 2 SDK 1.4.1 or higher. The discussion's procedures were structured under the assumption that your PATH and CLASSPATH environment variables are configured properly, as well.
You will be able to configure everything correctly if you will take a look at the installation guides that come with all of the software components mentioned previously. They're worth reading. (In our case doing so was enough to configure ANT_HOME so that it points to Ant's installation directory, putting mysql-connector-java-3.0.11-stable-bin.jar into CLASSPATH and putting WebLogic's J2SE SDK's directories into the PATH variable. Everything works great, but don't skip reading the official documentation from the software vendors, as the information can help you ensure you are properly set up.
As described here, the procedures were written for working on the Windows platform; however, you can apply these techniques on any platform that supports BEA WebLogic and MySQL.