I would like to use org.glassfish.api.embedded in my Java application so that I can add a web interface to it. I’m using Netbeans and I have set up a Maven Java Application project.
I’m pretty new to Java. I cannot figure out how to add GlassFish to my project. I tried to add various dependencies, but none of them had org.glassfish.api.embedded in them.
How can I add org.glassfish.api.embedded to my Java application in Netbeans?
From: http://glassfish.java.net/downloads/3.1.2-final.html
Or:
It should be available via Maven Central, so you don’t have to configure any repository.
The only downside: the jars are quite big (40MB resp. 67MB).