Java EE 8 cookbook build reliable applications with the most robust and mature technology for enterprise development
A practical guide for building effective enterprise solutions with Java EE 8 About This Book Recipes to get you up-and-running with Java EE 8 application development Learn how to apply the major Java EE 8 APIs and specifications Implement microservices and Reactive programming with Java EE 8 Who Thi...
Otros Autores: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Birmingham ; Mumbai :
Packt
[2018]
|
Edición: | First edition |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009631488706719 |
Tabla de Contenidos:
- Cover
- Copyright and Credits
- Dedication
- Packt Upsell
- Foreword
- Contributors
- Table of Contents
- Preface
- Chapter 1: New Features and Improvements
- Running your first Bean Validation 2.0 code
- Getting ready
- How to do it...
- How it works...
- See also
- Running your first CDI 2.0 code
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Running your first JAX-RS 2.1 code
- Getting ready
- How to do it...
- How it works...
- See also
- Running your first JSF 2.3 code
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Running your first JSON-P 1.1 code
- Getting ready
- How to do it...
- How it works...
- See also
- Running your first JSON-B code
- Getting ready
- How to do it...
- How it works...
- See also
- Running your first Servlet 4.0 code
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Running your first Security API code
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Running your first MVC 1.0 code
- Getting ready
- How to do it...
- How it works...
- See also
- Chapter 2: Server-Side Development
- Using CDI to inject context and dependency
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Using Bean Validation for data validation
- Getting ready
- How to do it...
- How it works...
- See also
- Using servlet for request and response management
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Using Server Push to make objects available beforehand
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Using EJB and JTA for transaction management
- Getting ready
- How to do it...
- How it works...
- There's more.
- See also
- Using EJB to deal with concurrency
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Using JPA for smart data persistence
- Getting ready
- How to do it...
- How it works...
- See also
- Using EJB and JPA for data caching
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Using batch processing
- Getting ready
- How to do it...
- How it works...
- See also
- Chapter 3: Building Powerful Services with JSON and RESTful Features
- Building server-side events with JAX-RS
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Improving service's capabilities with JAX-RS and CDI
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Easing data and objects representation with JSON-B
- Getting ready
- How to do it...
- How it works...
- See also
- Parsing, generating, transforming, and querying on JSON objects using JSON-P
- Getting ready
- How to do it...
- How it works...
- See also
- Chapter 4: Web- and Client-Server Communication
- Using servlets for request and response management
- Getting ready
- How to do it...
- The load on startup servlet
- A servlet with init params
- The asynchronous servlet
- How it works...
- The load on startup servlet
- A servlet with init params
- Asynchronous servlet
- See also
- Building UI with template's features using JSF
- Getting ready
- How to do it...
- How it works...
- See also
- Improving the response performance with Server Push
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Chapter 5: Security of Enterprise Architecture
- Introduction
- Domain protection with authentication
- Getting ready
- How to do it
- How it works...
- See also.
- Granting rights through authorization
- Getting ready
- How to do it...
- How it works...
- See also
- Protecting data confidentiality and integrity with SSL/TLS
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Using declarative security
- Getting ready
- How to do it...
- How it works...
- See also
- Using programmatic security
- Getting ready
- How to do it...
- How it works...
- See also
- Chapter 6: Reducing the Coding Effort by Relying on Standards
- Introduction
- Preparing your application to use a connection pool
- Getting ready
- How to do it...
- There's more...
- See also
- Using messaging services for asynchronous communication
- Getting ready
- How to do it...
- How it works...
- See also
- Understanding a servlet's life cycle
- Getting ready
- How to do it...
- How it works...
- See also
- Transaction management
- Getting ready
- How to do it...
- How it works...
- See also
- Chapter 7: Deploying and Managing Applications on Major Java EE Servers
- Introduction
- Apache TomEE usage
- Getting ready
- How to do it...
- Deploying EAR, WAR, and JAR files
- Creating datasources and a connection pool
- Logging setup and rotate
- Starting and stopping
- Session clustering
- There's more...
- See also
- GlassFish usage
- Getting ready
- How to do it...
- Deploying EAR, WAR, and JAR files
- Creating datasources and a connection pool
- Logging setup and rotate
- Starting and stopping
- Session clustering
- There's more...
- See also
- WildFly usage
- Getting ready
- How to do it...
- Deploying EAR, WAR, and JAR files
- Creating datasources and a connection pool
- Logging setup and rotate
- Starting and stopping
- Session clustering
- There's more...
- See also
- Chapter 8: Building Lightweight Solutions Using Microservices
- Introduction.
- Building microservices from a monolith
- Getting ready
- How to do it...
- Building a monolith
- Building microservices from the monolith
- The user microservice
- The user address microservice
- The gateway microservice
- How it works...
- The monolith
- The microservices
- There's more...
- See also
- Building decoupled services
- Getting ready
- How to do it...
- How it works...
- See also
- Building an automated pipeline for microservices
- Getting ready
- Preparing the application
- Preparing the environment
- How to do it...
- Continuous integration
- Git
- Maven
- JUnit
- Continuous delivery
- Continuous deployment
- There's more...
- See also
- Chapter 9: Using Multithreading on Enterprise Context
- Introduction
- Building asynchronous tasks with returning results
- Getting ready
- How to do it...
- How it works...
- See also
- Using transactions with asynchronous tasks
- Getting ready
- How to do it...
- How it works...
- See also
- Checking the status of asynchronous tasks
- Getting ready
- How to do it...
- How it works...
- See also
- Building managed threads with returning results
- Getting ready
- How to do it...
- How it works...
- See also
- Scheduling asynchronous tasks with returning results
- Getting ready
- How to do it...
- How it works...
- See also
- Using injected proxies for asynchronous tasks
- Getting ready
- How to do it...
- How it works...
- See also
- Chapter 10: Using Event-Driven Programming to Build Reactive Applications
- Introduction
- Building reactive applications using asynchronous servlets
- Getting ready
- How to do it...
- How it works...
- See also
- Building reactive applications using events and observers
- Getting ready
- How to do it...
- How it works...
- See also
- Building reactive applications using websockets
- Getting ready.
- How to do it...
- How it works...
- See also
- Building reactive applications using message-driven beans
- Getting ready
- How to do it...
- How it works...
- See also
- Building reactive applications using JAX-RS
- Getting ready
- How to do it...
- How it works...
- See also
- Building reactive applications using asynchronous session beans
- Getting ready
- How to do it...
- How it works...
- See also
- Using lambdas and CompletableFuture to improve reactive applications
- Getting ready
- How to do it...
- How it works...
- See also
- Chapter 11: Rising to the Cloud - Java EE, Containers, and Cloud Computing
- Introduction
- Building Java EE containers using Docker
- Getting ready
- How to do it...
- How it works...
- See also
- Using Oracle Cloud for container orchestration in the cloud
- Getting ready
- How to do it...
- How it works...
- There's more...
- Using Jelastic for container orchestration in the cloud
- Getting ready
- How to do it...
- How it works...
- There's more...
- Using OpenShift for container orchestration in the cloud
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Using AWS for container orchestration in the cloud
- Getting ready
- How to do it...
- How it works...
- There's more...
- Appendix: The Power of Sharing Knowledge
- Introduction
- Why contributing to the Adopt a JSR program can make you a better professional
- Understanding the Adopt a JSR program
- Collaborating on the future of Java EE
- Setting yourself up for collaboration
- Set aside a specific time for it
- Choose where you'll concentrate your effort
- Do it!
- The secret to unstucking your project, your career... even your life!
- Other Books You May Enjoy
- Index.