Sample Project which shows how to create a JDBC security realm with Glassfish 3.1 and Java EE 6.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

JDBC Security with Glassfish 3.1 and Java EE 6

Package as war and deploy to Glassfish

To package as war file with maven simply type the following on the command line:

mvn clean compile package

Now you can deploy the application by either using the Glassfish admin console or drop the war file into your {Glassfish}/domains/domain1/autodeploy directory.

Import as Eclipse Project

There is a project file included in the project folder, so you can import the project directly into eclipse as existing project.