Developing Middleware in Java EE 8 : Build Robust Middleware Solutions Using the Latest Technologies and Trends.
Middleware is the infrastructure in software-based applications that enables businesses to solve problems and operate efficiently. As soon as the use of middleware extends beyond a single application, the importance of having it written by experts increases. This book will help you become an expert...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham :
Packt Publishing Ltd,
2018.
|
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- Cover; Title Page; Copyright and Credits; Dedication; Packt Upsell; Contributors; Table of Contents; Preface; Chapter 1: Delving into Java EE 8; What is Java EE?; Enterprise applications; Java EE architecture; Chapter roadmap; Contexts and dependency injection; Data persistence; Data validation; Enterprise JavaBeans; RESTful services; JSON processing; Messaging; Mailing; WebSockets; Security; Required software; IDE; Application server; Build tool; Relational database system; Book project; Goodbye Java EE, welcome Jakarta EE!; Summary; Chapter 2: Dependency Injection Using CDI 2.0.
- What's new in CDI 2.0?Creating your first CDI bean; First CDI bean; Providing alternative implementations to your bean; Using qualifiers; Specifying a bean scope; Injecting beans; Direct field injection; Bean constructor parameter injection; Initializer method parameter injection; Using producers; Scope of producer methods; Injection into the producer methods; Using interceptors; Interceptor types; Using events; Summary; Chapter 3: Accessing the Database with JPA 2.1; What's new in JPA 2.2?; Architecture; Writing your first JPA application; Step 1: Creating a data source.
- Step 2: Creating a persistence unitStep 3: Creating an entity class; Step 4: Creating a data access object; Entities; Entity mapping; Primary keys; Table mapping; Column mapping; Date and time mapping; Ignoring properties; Composite primary keys; Embedded objects; Performing CRUD operations; Managed versus detached entities; Inserting a new record; Retrieving an existing record; Updating an existing record; Deleting a record; Detaching an entity; Mapping entity relationships; Many-to-one relationships; Many-to-many relationships; Bidirectional relationships; Cascading.
- Map collections of primitivesJPA query language; Basic syntax; Query parameters; Named parameters; Positional parameters; Query examples; Selecting entities; Ordering entities; Limiting records; Selecting entities with clauses; Selecting entities with projection; Eliminating duplicates; Entity navigation; Update entities; DELETE entities; Using native SQL queries; Named queries; Criteria queries; Mapping inheritance; Single table strategy; Joined table strategy; Table per class strategy; Comparing strategies; Polymorphic queries; Summary; Chapter 4: Validating Data with Bean Validation 2.0.
- What's new in Bean Validation 2.0?First validation example; First approach
- programmatic validation; Second approach
- auto validation; Injecting the validator object; Graph validation; List of available constraints; Validating parameters and return values; Defining a custom constraint; Associating messages with attributes; Adding more constraints; Summary; Chapter 5: Exposing Web Services with JAX-RS 2.1; What are web services?; RESTful versus SOAP services; SOAP services; RESTful services; Understanding HTTP; Basics; HTTP request; HTTP response; Writing your first REST service.