David Matejcek: Testing Jakarta EE Applications with Eclipse GlassFish
summary
Jakarta EE testing becomes practical: GlassFish runs fast enough to execute integration tests on a laptop, the original TCK once had ~65,000 tests, and GlassFish Test Utilities automate start/stop and asadmin scripting so JVM launches don’t leak. The demo shows embedded GlassFish and a Docker image test completing in about 9 seconds, uses Testcontainers for Postgres/MySQL isolation, and integrates Weld JUnit for CDI-style mocks; GitHub Container Registry replaces Docker Hub for reliable image hosting and automated CI.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 4:27Testing challenges
- 7:20Unit and integration testing
- 13:00CDI and injection testing
- 18:54GlassFish Test Utilities demo
- 23:20TestContainers for databases
- 26:59Asadmin automation
- 33:14Q&A
related talks
54mExploring Jakarta EE integration testing
45mPerformance Testing and Tuning of Web Applications
27mJakarta EE Town Hall Part 1
34mJakarta EE - Not Your Parents' Java EE
01h 02mJava EE 7, 8 and beyond
01h 20mJakarta EE Town Hall
37mInvited Talk: From Java EE to Jakarta EE
55mModern and Lightweight Cloud Application Development with Jakarta EE10
