This blogs lists the tips, tricks and solutions to most commonly faced issues while using Embedded GlassFish.
This blog describes how to configure maven-embedded-glasssfish-plugin to be able to deploy more than one application.
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> ...