• Stars
    star
    124
  • Rank 288,150 (Top 6 %)
  • Language
    Java
  • License
    Other
  • Created over 5 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Jakarta EE Examples

Jakarta EE 10 Examples

This repository contains code examples for Jakarta EE 10.

A selection of these examples have an elaborate explanation in the Jakarta EE Tutorial. The tutorial content is located in the https://github.com/jakartaee/jakartaee-tutorial/ repository.

Note that this project, as the tutorial, is currently very much a work in progress.

Types of examples

We use various different types of examples, as detailed below.

Focused

Focused examples demonstrate a single Jakarta technology and/or a single Jakarta API in a coherent and consistent way. Such focused examples are a little like an SSCCE (Short, Self Contained, Correct Example), but with a slightly different goal. Where the main purpose of an SSCCE is to be able to reproduce a bug, the purpose of the focused example is to demonstrate a technology.

Each focused example is its own Maven module, and (typically) its own war. Such war can be deployed standalone to a server of choice, where it can be manually run, debugged, modified, etc.

To assure focused examples actually work, and as implicit documentation of how the example is run (what requests need to be done), most examples are accompanied by a test (in the future all examples should have a test). All tests follow the same pattern:

  • A server/runtime is started (if needed)
  • The actually build output of the Maven module (typically a war) is deployed to said server/runtime
  • The test, which runs on the client, issues HTTP requests to the server/runtime
  • The test assures the response of the server/runtime is expected
  • The application is undeployed
  • The server/runtime is stopped (if needed)

Focused examples use Maven for building and starting the tests and JUnit for defining and executing the tests. Arquillian is used, but only to start/stop a server, and to deploy/undeploy the test application for a given server/runtime.

Tutorial

Tutorial examples are examples that happen to be used in the current version of the tutorial. They are a mix of focused examples, and more elaborate examples. They are currently specifically a work in progress and may be moved to various other locations within this repo.

Eleborate (future)

Eleborate examples are more complex and demonstrate multiple technologies and APIs to work together towards some practical goal.

Applications (future)

Actual applications that are an example of how to use Jakarta EE for a specific sector, industry, or type of application. E.g. an example application for a pet store, a cargo tracker, etc.

See Java EE Kickoff for an idea of what example applications could be included here.

More Repositories

1

jersey

Eclipse Jersey Project - Read our Wiki:
Java
689
star
2

glassfish

Eclipse GlassFish
Java
377
star
3

cargotracker

The project demonstrates how you can develop applications with Jakarta EE using widely adopted architectural best practices like Domain-Driven Design (DDD).
JavaScript
342
star
4

ee4j

Eclipse EE4J Top-level Project and community related issues
276
star
5

jaxb-ri

Jaxb RI
Java
202
star
6

yasson

Eclipse Yasson project
Java
201
star
7

eclipselink

Eclipselink project
Java
196
star
8

mojarra

Mojarra, a Jakarta Faces implementation
Java
160
star
9

grizzly

Grizzly
Java
147
star
10

tyrus

Tyrus
Java
112
star
11

jakartaee-tutorial

Jakarta EE Tutorial
Ruby
96
star
12

glassfish-hk2

Dynamic dependency injection framework
Java
84
star
13

metro-jax-ws

metro-jax-ws
Java
71
star
14

soteria

Soteria, a Jakarta Security implementation
Java
57
star
15

angus-mail

Angus Mail
Java
53
star
16

krazo

Java
50
star
17

openmq

OpenMQ
Java
50
star
18

starter

Eclipse Starter for Jakarta EE
HTML
50
star
19

glassfish-samples

Java
32
star
20

jakartaee-firstcup-examples

Java
31
star
21

orb

Eclipse ORB is a CORBA orb for use in Jakarta EE and GlassFish and other projects that still need an ORB.
Java
23
star
22

glassfish-concurro

Eclipse Concurrō project
Java
14
star
23

jaxb-istack-commons

Java
13
star
24

metro-saaj

Java
13
star
25

jakartaee-firstcup

First Cup of Jakarta EE Tutorial
CSS
13
star
26

exousia

Exousia, a Jakarta Authorization implementation
Java
11
star
27

parsson

Parsson Project
Java
10
star
28

expressly

Expressly, a Jakarta Expression Language implementation
Java
9
star
29

odi

Open DI
Java
8
star
30

jaxb-fi

Java
8
star
31

jakartaee-tck-tools

Java
7
star
32

wasp

WaSP, a Jakarta Pages implementation
Java
7
star
33

jaxb-stax-ex

Java
7
star
34

grizzly-ahc

Java
7
star
35

jaxb-dtd-parser

Java
7
star
36

metro-wsit

metro-wsit
Java
6
star
37

glassfish-fighterfish

FighterFish project
Java
6
star
38

ee4j-website

Website for the Eclipse EE4J Top Level Project
PHP
6
star
39

eclipselink-workbench

eclipselink-workbench
Java
6
star
40

epicyro

Epicyro, a Jakarta Authentication implementation
Java
6
star
41

angus-activation

Angus Activation
Java
5
star
42

glassfish-shoal

Shoal
Java
5
star
43

glassfish.docker

Official supported GlassFish docker
Dockerfile
5
star
44

jakartaee-release

This repository will be used to help manage the various Jakarta EE releases. No deliverable code will be housed in this repository -- only Issues, PRs, Tools, etc in support of delivering a release
Shell
5
star
45

orb-gmbal-pfl

Java
4
star
46

eclipselink-examples

eclipselink-examples
Java
4
star
47

glassfish-maven-embedded-plugin

Glassfish maven embedded plugin
Java
4
star
48

glassfish-jsftemplating

JSFTemplating project
Java
4
star
49

glassfish-security-plugin

Java
4
star
50

glassfish-repackaged

GlassFish repackaged 3rd party
3
star
51

glassfish-hk2-extra

HK2 extra
Java
3
star
52

glassfish-woodstock

GlassFish Woodstock UI components
Java
3
star
53

jersey.github.io

Jersey project
3
star
54

metro-mimepull

Metro mimepull
Java
3
star
55

glassfish-build-maven-plugin

GlassFish Build Maven Plugin
Java
3
star
56

glassfish-logging-annotation-processor

Java
2
star
57

glassfish-cdi-porting-tck

Java
2
star
58

glassfish-copyright-plugin

Java
2
star
59

glassfish-spec-version-maven-plugin

API Specification Version Maven Plugin
Java
2
star
60

jax-rpc-ri

JAX RPC Implementation (Eclipse Metro Project)
Java
2
star
61

orb-gmbal-commons

Java
2
star
62

eclipselink-oracleddlparser

eclipselink-oracleddlparser
Java
2
star
63

genericmessagingra

Java
2
star
64

grizzly-memcached

Grizzly-memcached
Java
2
star
65

glassfish-doc-plugin

Java
2
star
66

mojarra-jsf-extensions

Java
1
star
67

grizzly-thrift

Grizzly-thrift
Java
1
star
68

jersey-web

The source repository for
HTML
1
star
69

management-api

Jakarta Management
Java
1
star
70

glassfish-ha-api

glassfish-ha-api
Java
1
star
71

metro-xmlstreambuffer

Metro xmlstreambuffer
Java
1
star
72

metro-package-rename-task

Metro package rename
Java
1
star
73

jax-rpc-api

Jakartaee-stable project
Java
1
star
74

jakartaee-renames

1
star
75

glassfish-docs

HTML
1
star
76

gransasso

Eclipse Gransasso Repository
1
star
77

krazo-extensions

Java
1
star
78

debugging-support-for-other-languages-tck

Java
1
star
79

cditck-porting

Standard ML
1
star
80

ditck-porting

Shell
1
star
81

bvtck-porting

Glassfish Bean Validation 2.0 porting kit
Standard ML
1
star