Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Jakarta in Action

Sponsored · SiteGround - Reliable hosting with speed, security, and support you can count on. →

Jakarta in Action

Developing a basic business application using various of the JakartaEE specifications such as Jakarta Bean Validation, Jakarta Persistence, Jakarta Enterprise Bean, Jakarta Server Faces, and Jakarta Security that allows understanding both the Jakarta ecosystem and how to integrate them

Avatar for Marco Antonio Toscano Freire

Marco Antonio Toscano Freire

October 12, 2020

Other Decks in Programming

Transcript

  1. Developing a basic business application using various of the JakartaEE

    specifications that allows to understand both the Jakarta ecosystem and how to integrate them. • Jakarta Server Faces 2.3. • Jakarta CDI 2.0. • Jakarta Enterprise Bean 3.2. • Jakarta RESTFul Web Service 2.1. • Jakarta Persistence 2.2. • Jakarta Bean Validations 2.0. • Jakarta Security 1.0. JakartaEE in Action Marco Toscano Freire · @Twitter · @martosfre - @Github · @martosfre
  2. Create Jakarta EE Project • jakartaee8-archetype • H2 Database. •

    Deploy on both Payara and Wildfly Application Server. (DefaultDatasource) Marco Toscano Freire · @Twitter · @martosfre - @Github · @martosfre
  3. Create Jakarta EE Project - Dependences Marco Toscano Freire ·

    @Twitter · @martosfre - @Github · @martosfre EJB PROJECT WEB PROJECT
  4. Create Web Services with REST (JAKARTA RESTful Web Services) •

    Class to configure the root resource • Endpoint Employee with save and find operations. • MediaType.APPLICATION_JSON Marco Toscano Freire · @Twitter · @martosfre - @Github · @martosfre
  5. Create Web Services with REST (JAKARTA RESTful Web Services) Marco

    Toscano Freire · @Twitter · @martosfre - @Github · @martosfre Main Class Configuration REST Endpoint Employee
  6. Event Notification (CDI) • Event sobre Audit Object. • Event

    execute after the transaction was success. Marco Toscano Freire · @Twitter · @martosfre - @Github · @martosfre
  7. Create Forms (JAKARTA Server Faces) • Form to manages employee

    operations. • Form to authenticate users. • Improved CDI support. • Bootstrap. Marco Toscano Freire · @Twitter · @martosfre - @Github · @martosfre
  8. Create Forms (JAKARTA Server Faces) Marco Toscano Freire · @Twitter

    · @martosfre - @Github · @martosfre employee.xhtml EmployeeBean.java
  9. Create Forms (JAKARTA Server Faces) Marco Toscano Freire · @Twitter

    · @martosfre - @Github · @martosfre Login Form
  10. Create Forms (JAKARTA Server Faces) Marco Toscano Freire · @Twitter

    · @martosfre - @Github · @martosfre Employee Form
  11. Authenticate User (JAKARTA Security) • Authentication based on username and

    password in memory. • Login Form Customized. Marco Toscano Freire · @Twitter · @martosfre - @Github · @martosfre
  12. Authenticate User (JAKARTA Security) Marco Toscano Freire · @Twitter ·

    @martosfre - @Github · @martosfre Constraints Configuration Security Configuration
  13. Authenticate User (JAKARTA Security) Marco Toscano Freire · @Twitter ·

    @martosfre - @Github · @martosfre Memory IdentyStore Method to validate users