users@glassfish.java.net

glassfish-embedded-4.0 is it stable?

From: Cyril Auburtin <cyril.auburtin_at_gmail.com>
Date: Thu, 27 Mar 2014 01:11:18 +0100

I need to run glassfish-embedded 4.0 (at least version 4 of glassfish), I
found them on maven
http://search.maven.org/#search%7Cga%7C1%7Cmaven-embedded-glassfish-plugin,
but strangely under a different groupId

<plugin>
<!-- <groupId>org.glassfish</groupId> --><!--
<artifactId>maven-embedded-glassfish-plugin</artifactId> --><!--
<version>3.1</version> -->
    <groupId>org.glassfish.embedded</groupId>
    <artifactId>maven-embedded-glassfish-plugin</artifactId>
    <version>4.0</version>

    <configuration>
        <goalPrefix>embedded-glassfish</goalPrefix>
        <app>target/${project.build.finalName}.war</app>
        <port>8080</port>
        <contextRoot>/</contextRoot>
        <autoDelete>true</autoDelete>
    </configuration></plugin>

 anyway I tried with a basic example
https://github.com/n11/TestGlassfishEmbedded

You can easily download the code and run the README
Uncomment and comment the right sections in pom.xml to switch between 3.1
and 4.0.
It's working fine under 3.1, and not serving anything with 4.0, without any
error

any idea?