Skip to content

matzoman/arquillian-simple-samples

Repository files navigation

What you need to understand and try these samples:

What I used:

  • eclipse (I used "Eclipse IDE for Java EE Developers", Mars.1)
  • in eclipse I installed the WDT (Websphere Developer Tools)
  • to prepare the eclipse / workspace you should add a liberty server
    • File -> New -> Server -> server type "Websphere Application Server Liberty" -> Next -> choose "Install from an archive or a repository" -> Next -> enter a path where you want the server to be installed & choose "Download and instal..." and there the "WAS Liberty V8.5.5.8 with Java EE 7 Full Platform" (yeah, it's a very long name...) -> Next -> (No Additional Content needed) -> Next -> Accept license -> Finish
  • start the server (in the Server-Tab), and you must add a keystore password. (for these example not important. it adds a line to the server.xml)

Just to have a look a the projects:

  • Import the projects from the repository into your workspace
  • Define a run configuration for each project
    • for the 'HelloEJBSample' set "install" as the goal
    • for the 'HelloWorld' & 'HelloEJBSampleTest' set "clean test" as the goal
  • run the 'HelloEJBSample' first to install the artefact for the 'HelloEJBSampleTest'-project
  • stop the liberty server
  • run the tests

How I built each project

'HelloWorld'

[to be continued]

About

some simple examples for using arquillian

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published