Java EE 7: Front-end Web Application Development (D85120) – Outline
Detailed Course Outline
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 WebLogic 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
- Two approaches to creating 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 JSO 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