GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - javaee-samples/javaee7-samples at ceb77d37649d4b575827eef141d81488b38d47d8

BranchesTags
Open more actions menu

Latest commit

 

History

711 Commits
711 Commits

Folders and files

NameName
Last commit message
Last commit date
batch
batch
 
 
cdi
cdi
 
 
concurrency
concurrency
 
 
ejb
ejb
 
 
el
el
 
 
extra
extra
 
 
javamail
javamail
 
 
jaxrs
jaxrs
 
 
jca
jca
 
 
jms
jms
 
 
jpa
jpa
 
 
jsf
jsf
 
 
json
json
 
 
jta
jta
 
 
servlet
servlet
 
 
util
util
 
 
validation
validation
 
 
websocket
websocket
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
pom.xml
pom.xml
 
 

Repository files navigation

Java EE 7 Samples

This workspace consists of Java EE 7 Samples. They are categorized in different directories, one for each JSR.

I don't plan to write any formal documentation, read the code. The Java EE 7 Essentials book refer to some of these samples and provide an explanation. However if you are interested in adding javadocs, send a pull request.

How to run ?

Samples are tested on Wildfly and GlassFish using the Arquillian ecosystem.

Only one profile can be active at a given time otherwise there will be dependency conflicts.

There are 3 available profiles:

  • wildfly-managed-arquillian The default profile and it will install a Wildfly server and start up the server per sample. Useful for CI servers.

  • wildfly-remote-arquillian This profile requires you to start up a Wildfly server outside of the build. Each sample will then reuse this instance to run the tests. Useful for development to avoid the server start up cost per sample.

  • glassfish-embedded-arquillian This profile uses the GlassFish embedded server and runs in the same JVM as the TestClass. Useful for development, but has the downside of server startup per sample.

  • glassfish-remote-arquillian This profile requires you to start up a GlassFish server outside of the build. Each sample will then reuse this instance to run the tests. Useful for development to avoid the server start up cost per sample.

To run them in the console do:

  1. In the terminal, mvn -Pwildfly-managed-arquillian test at the top-level directory to start the tests

When developing and runing them from IDE, remember to activate the profile before running the test.

To learn more about Arquillian please refer to the Arquillian Guides

List of Samples

The following script will generate the complete list of samples.

find . -name pom.xml -depth 3 -maxdepth 3 | sed 's|\./||g' | sed 's|\/pom.xml||g'

There are 161 samples as of 9/16.

About

Java EE 7 Samples

travis-ci.org/javaee-samples/javaee7-samples

Topics

cdiglassfishjaspicjavajavaeejavaee7jaxrsjbossjsfjunitlibertypayaraservlettomcattomee

Resources

Readme
License
Activity
Custom properties

Stars

2.5k stars

Watchers

339 watching

Forks

1.6k forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.