Skip to content

Latest commit

 

History

History
executable file
·
31 lines (22 loc) · 616 Bytes

README.md

File metadata and controls

executable file
·
31 lines (22 loc) · 616 Bytes

Prerequisites

  • Maven
  • JDK 11
  • GlassFish 7

Build the examples

Unzip GlassFish 7 on the predefined directory depending on your OS:

  • Windows: c:\glassfish7
  • Unix: ~/glassfish7

You can also customize this path via the glassfish.home.prefix Maven property. Make sure to start with a clean domain.

Start GlassFish 7:

$GF_HOME/bin/asadmin start-domain
$GF_HOME/bin/asadmin start-database

Add a user to the file realm with the TutorialUser

$GF_HOME/bin/asadmin create-file-user --groups TutorialUser admin

Clone this repository and build the examples using:

mvn install