Jakarta EE Flashcards

1
Q

Objetivo Jakarta EE

A

Crear aplicaciones web transaccionales y multiusuario en lenguajes Java

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

JVM languages

A
  • Java
  • Kotlin
  • Scala
  • Groovy
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Jakarta Profiles

A
  • Platform / full profile
  • Web Profile
  • Core Profile
  • Microprofile, para microservicios
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Capa presentación

A
  • JSP (Java Server Pages): html + %código java%
  • JSTL (Java Server Tag Library): html + tag lib personalizadas
  • JSF (Java Server Faces): html + tags UI predefinidos
  • Servlets (capa control)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Capa negocio

A
  • EJB Session (Entreprise JavaBeans): con y sin estado
  • EJB MDB: recibir mensajes de una queue JMS
  • Web Services (SOAP(JAW-WS) y REST(JAW-RS))
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Servicios que ofrece el App Server

A
  • JTA (servicio transacciones) -> UserTransaction
  • JNDI (servicio de nombres - árbol objetos) -> Initial Context
  • JPA (servicio persistencia alto nivel - ORM)
  • JDBC (servicio persistencia bajo nivel)
  • JMS (servicio cola de mensajes)
  • CDI (servicio inyección de dependencias)
  • JSON-P (servicio para documentos JSON)
  • Jakarta MVC
  • Jakarta NoSQL
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Productos compatibles

A

JBoss
WildFly
Payara
Weblogic
WebSphere Liberty
Eclipse Glassfish
Apache TomEE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

req, res

A

Se crean continuamente por cada petición

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

httpSession

A

Se crea por cada usuario conectado

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

servlet / filter

A

Se crea un objeto de cada clase al inicio de la app

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Anotaciones de una “entidad”

A

@entity - clase como entidad
@id - clave primaria
@table
@column
@OneToMany
@Trasient
@NamerQuery
@Query

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Paquetes principales JEE/Jakarta

A
  • EJB -> javax.ejb
  • JPA -> javax.persistence
  • JTA -> javax.transaction
  • JMS -> javax.jms
  • CDI -> javax.inject
  • SERVLETS -> javax.servlet
  • JSF -> javax.faces
  • JAX-RS -> javax.ws.rs
  • JAX-WS -> javax.jws/xml.ws
How well did you know this?
1
Not at all
2
3
4
5
Perfectly