Questo corso vi aiuta a costruire ed eseguire il deployment delle applicazioni Enterprise conformi a Java Platform, Enterprise Edition Web Profile. L’ istruttore vi aiuterà a esplorare le annotazioni, i Session Enterprise JavaBeans (EJB-Lite), Java Persistence API (JPA), Servlet, JavaServer Pages(JSPs), Contexts and Dependency Injection (CDI), JAX-RS RESTful web services, Java API per WebSocket e Java API per JSON processing.
Cosa imparerete:
- Creare e utilizzare le annotazioni Java
- Scegliere un profilo Java EE corretto per un dato tipo di applicazione
- Sviluppare ed eseguire un'applicazione basata sulla tecnologia EJB
- Sviluppare le applicazioni Java EE con la piattaforma Java EE
- Identificare servizi forniti da un Application Server
- Eseguire il packaging, deployment e debug delle applicazioni Enterprise
- Creare le interfacce utente web-based utilizzando le tecnologie Servlet, JSP, JAX-RS e JavaScript
- Accedere ai database relazionali utilizzando Java Persistence API
- Creare una logica di business scalabile e transazionale con gli EJB-Lite
- Progettare le applicazioni per usare Dependency Injection
Programmatori di applicativi web in Java.
Richiesti:
- Saper creare pagine web utilizzando HTML, CSS e JavaScript
- Conoscenze base della sitassi SQL
- Esperienza di programmazione con Java SE
- Capire i principi di Object Orientation
Consigliati:
- Esperienze di utilizzo di un IDE
- Esperienza di sviluppo delle applicazioni web con HTML5 e JavaScript
Java Platform, Enterprise Edition
- The Java EE Platform
- The needs of enterprise application developers
- Java EE specifications
- A comparison of services and libraries
- The Java EE Web Profile
- Java EE application tiers and layers
Enterprise Development Tools and Applications
- The purpose of an application server
- Starting and stopping Application Server
- Properties of Java EE components
- The development process of a Java EE application
- Configuring and packaging Java EE applications
JavaBeans, Annotations, and Logging
- Java SE features used in Java EE applications
- Creating POJO JavaBeans components
- Using Logging
- Using Common Java Annotations
- Develop custom annotations
- The role of annotations in Java EE applications
Java EE Web Architecture
- The HTTP request-response model
- Differences between Java Servlets, JSP, and JSF components
- Application layering and the MVC pattern
- Avoiding thread safety issues in web components
- Use the Expression Language
Developing Servlets
- The Servlet API
- Request and response APIs
- Set response headers
- Create a response body
- Uploading files using a servlet
- Forwarding control and passing data
- Using the session management API
Developing with JavaServer Pages
- The role of JSP as a presentation mechanism
- Authoring JSP view pages
- Processing data from servlets in a JSP page
- Using tag libraries
JAX-RS Web Services
- The need for web services
- Designing a RESTful web service
- Create methods that follow the prescribed rules of HTTP method behavior
- Create JAX-RS resource and application classes
- Consume query and other parameter types
- Produce and consume complex data in the form of XML
- HTTP status codes
Java RESTful Clients
- Pre-JAX-RS 2 Clients: HttpUrlConnection and the Jersey Client API
- The JAX-RS 2 Client API
HTML5 Applications with JavaScript and AJAX
- HTML DOM manipulation with JavaScript
- RESTful clients with JavaScript (AJAX)
- Limitations of JavaScript clients
- The Same-Origin policy and CORS
WebSocket and the Java API for JSON Processing
- Web Service Limitations
- WebSocket Explained
- Creating WebSockets with Java
- Client-side WebSokect with JavaScript
- Client-side WebSocket with Java
- Consuming JSON with Java
- Producing JSON with Java
Implementing a Security Policy
- Container-managed security
- User roles and responsibilities
- Create a role-based security policy
- The security API
POJO and EJB-Lite Component Models
- The role of EJB components in Java EE applications
- The benefits of EJB components
- Operational characteristics of stateless and stateful session beans
- Creating session beans
- Creating session bean clients
The Java Persistence API
- The role of the Java Persistence API in Java EE applications
- Basics of Object-Relational Mapping
- The elements and environment of an entity component
- The life cycle and operational characteristics of entity components
Implementing a transaction policy
- Transaction semantics
- Programmatic vs. declarative transaction scoping
- Using JTA to scope transactions programmatically
- Implementing a container-managed transaction policy
- Optimistic locking with the versioning of entity components
- Pessimistic locking using EntityManager APIs
- The effect of exceptions on transaction state