Using MySQL database with GlassFish is nothing new. However I just wanted to share a small note on how I used MySQL DB from GlassFish which is embedded in my test. Life is much easier when I am able to run the test without having pre-installation of GlassFish/MySQL.
To start using Embedded GlassFish Server Open Source Edition 3.1 in your Maven project, all you need to do is to have the following configuration in your pom.xml:
<project> ... <packaging>ear |ejb|jar|rar|war</packaging> ... <build> ... <plugins> ...
This is a preliminary notes on how to run CAFE (sailfin-cafe.dev.java.net) applications on top of Oracle Communications Converged Application Server (OCCAS)
Embeddability of GlassFish is been around for quite some time now. In 3.1, the embeddable APIs have been revised. Most of the GlassFish community is already aware of the API revision, however I would like to briefly describe the revised APIs in this blog and welcome any feedback.
Embeddable API overview:
API JavaDocs are at http://embedded-glassfish.java.net/nonav/apidocs/
The APIs are briefly...