Skip to content

About

This project demonstrates how you can utilize today's most popular JavaScript frameworks like React, Angular, and Vue to utilize the core strengths of Jakarta EE using REST, WebSocket, SSE, and JSON.

Topics

Resources

Stars

79 stars

Watchers

13 watching

Forks

Latest commit

 

History

83 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Using JavaScript/HTML5 Clients with Jakarta EE 11

This project demonstrates how you can utilize today's most popular JavaScript frameworks like React, Angular, or Vue to utilize the core strengths of Jakarta EE.

It is a Jakarta EE 11 server-side application with a React front-end consisting of a chat application (powered by WebSocket), a to-do list application (powered by REST), and a live memory monitor (powered by SSE). The server-side is implemented using the Java API for WebSocket, JSON Processing, REST, CDI, Validation, Persistence, and Data.

The application uses basic authentication. You can set the username/passwords via the database scripts in the source code. The current users are reza, nicole, zehra, and inaya. Each is seeded with the password secret1.

The project is in standard Maven format. You should be able to open it using any IDE that supports Maven and run it using any Jakarta EE 11 container. The project uses Payara Micro and an embedded H2 database.

Setup Instructions

Here are the instructions to get up and running:

  • Install JDK 25

  • Open this project in your IDE

  • Build and run the project using Maven:

    mvn clean package payara-micro:start
    
  • Open up a browser and go to http://localhost:8080/

About

This project demonstrates how you can utilize today's most popular JavaScript frameworks like React, Angular, and Vue to utilize the core strengths of Jakarta EE using REST, WebSocket, SSE, and JSON.

Topics

Resources

Stars

79 stars

Watchers

13 watching

Forks

Releases

Packages

Used by

Contributors

Languages