Skip to content

Install

Tim Prange edited this page Jan 21, 2018 · 2 revisions

Installation

Checkout SourceCode

Clonse Source code via:

git clone https://gitlab.com/mettke/phaseten.git

or

git clone [email protected]:mettke/phaseten.git

Setup Eclipse

Setup GlassFish

Install Eclipse Plugin

  • Goto Help -> Eclipse Marketplace...
  • Search for GlassFish Tools
  • Press Install
  • (Optional) Select Java EE 7 Documentation
  • Press Confirm >
  • Accept License
  • Trust Certificate
  • Restart Eclipse after Installation finished

Setup GlassFish Server

  • Goto Window -> Show View -> Servers
  • Click No servers available...
  • Select GlassFish*
  • Use GlassFish as Server name
  • Press Next >
  • Select GlassFish location
  • Select Java location
  • Make sure Name equals GlassFish
  • Press Next >
  • Make sure to use domain1 under Domain path
  • Press Next >
  • Add PhaseTen-ear
  • Press Finish

Setup MySQL Database

  • Download MySQL Workbench
  • Add Connection...
  • Connection Name: phaseten
  • Password: passwort
  • Default Schema: phaseten
  • Download and extract JDBC-Connector: https://dev.mysql.com/downloads/connector/j/
  • Copy+Paste Jar into [GlassFish-Home]/glassfish/domains/domain1/lib/ext
  • Restart GlassFish
  • Test: ServiceHandlerTest (Remote)
  • Test: ServerStubTest (Local)
  • MySQL Workbench: SELECT * FROM phaseten.TESTTYPE;
  • One Row should be returned
Clone this wiki locally