Skip to content

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.

License

Notifications You must be signed in to change notification settings

m-reza-rahman/jakartaee-javascript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Using JavaScript/HTML5 Clients with Jakarta EE 10

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 10 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, and Persistence.

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 10 container. The project uses Payara Micro and an embedded H2 database.

Setup Instructions

Here are the instructions to get up and running:

  • Install JDK 21

  • 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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •