Skip to content

COG-GTM/java8-examples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

This repository contains simple example projects demonstrating CDI (Weld) integration with Jetty, originally developed for Java 8 and migrated to Java 11 (LTS).

Requirements

  • JDK 11 or later (e.g., Eclipse Temurin 11)
  • Apache Maven 3.6+

Building

mvn clean install

This builds the parent reactor and the jetty-maven-cdi module, producing a WAR artifact.

Running the Demo

cd jetty-maven-cdi
mvn jetty:run

Then open http://localhost:8080/ to see the CDI-injected greeting.

Migration from Java 8

This project was migrated from Java 8 to Java 11. See MIGRATION_NOTES.md for details on what changed (build config, dependency replacements, Jetty/Weld upgrades, and known warnings).

Original Software Stack (historic reference)

  • Ubuntu 14.04.1 LTS
  • Oracle Java (JDK) 1.8.0_25
  • NetBeans IDE 8.0.2
  • Apache Maven 3.2.2

About

Simple example projects of various Java 8 based projects.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Java 100.0%