LuisGalazM / jakartaee-tutorial-examples

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pre requisites

  • Maven
  • JDK8
  • GlassFish 5

Build the examples

Unzip GlassFish on the predefined directory depending on your OS:

  • Windows: c:\glassfish5
  • Unix: $HOME/glassfish5

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

Start GlassFish:

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

Add a user to the file realm with the TutorialUser

$GF_asadmin create-file-user --groups TutorialUser admin

Clone this repository and build the examples using:

mvn install

WARNING: the module connectors/trading-ear has a known bug and won't deploy to GlassFish. Please comment it from connectors/trading/pom.xml if you want the build to succeed.

About

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Java 61.0%Language:HTML 29.3%Language:TSQL 6.2%Language:CSS 3.4%Language:JavaScript 0.1%