舉報

會員
Java EE 8 and Angular
ThisbookisforJavaEEdeveloperswhowouldliketobuildmodernenterprisewebapplicationsusingAngular.NopriorknowledgeofAngularisexpected.
最新章節
- Leave a review - let other readers know what you think
- Other Books You May Enjoy
- Summary
- General tips
- Neither in Java EE nor MicroProfile
- Injecting an authorization header
品牌:中圖公司
上架時間:2021-07-02 18:21:39
出版社:Packt Publishing
本書數字版權由中圖公司提供,并由其授權上海閱文信息技術有限公司制作發行
- Leave a review - let other readers know what you think 更新時間:2021-07-02 19:23:17
- Other Books You May Enjoy
- Summary
- General tips
- Neither in Java EE nor MicroProfile
- Injecting an authorization header
- Exchanging tokens
- Route Guards
- Consuming token in Angular
- Verifying the token
- IMS Security
- Generating the token
- Token structure
- JSON Web Tokens
- Securing the application
- Securing the Application
- Summary
- Step definitions
- Feature file
- Acceptance testing with Cucumber
- Integration testing with Arquillian
- Testing in practice
- Balancing act of tests
- Contract testing
- Microservice testing challenges
- End-End testing
- Integration testing
- Unit testing
- Understanding the testing pyramid
- Testing strategies for microservices
- Testing Java EE Services
- Summary
- Docker release
- Installing Docker on Amazon EC2
- Launching the Amazon EC2 instance
- Deploying on the cloud using AWS
- Going to production
- Dynamic updates using Observables
- Observables in Angular
- JSON communication
- Cross Origin Resource Sharing (CORS)
- Verifying the running services
- Docker – focusing made easy
- Integration with microservices
- Connecting Angular to Java EE Microservices
- Summary
- Production-ready build
- Chatting on an issue
- Issue comments
- Validation
- Reactive forms
- Issue creation and updates
- Injectable service
- Rendering data with templates
- Issue lists and details
- Securing the application
- Data models
- Working independently of the backend
- Structuring the project
- Setup
- Building an Issue Management System frontend
- Building a Real-World Application
- Summary
- Gaining more control with reactive forms
- Handling forms in Angular
- Setting and patching values
- Grouping controls
- Creating a custom validator
- Adding validations
- Setting up forms with FormBuilder
- Reactive forms
- Forms with NgModel
- Checking the state of a form
- Building custom forms with validations
- Understanding forms with an example
- Reactive forms
- Template-driven forms
- Two approaches to forms
- Angular Forms
- Summary
- Introduction to PrimeNG
- Setup and run sample
- Building a project
- routerLinkActive
- Routes
- Services
- Two way
- One way
- Data binding
- Handling events
- Components
- Modules
- A better Hello World
- Bootstrap dependency
- Dependencies
- Managing packages
- Rapid development
- Project structure
- Angular CLI
- Angular 2 and beyond
- Bootstrapping process
- Modules
- Pipes
- Component in code
- Components live and die
- Anatomy of a component
- Understanding Angular
- Angular in a Nutshell
- Summary
- Working with arrays
- Inheritance
- Classes
- Interface
- Working with classes and interfaces
- Arrow functions
- Using functions
- Using let
- Using const
- Type inference
- Using variables types and functions
- Hello World example
- Terminal
- SCM support
- Debugging
- IntelliSense
- Visual Studio Code
- Features
- Why use it?
- Getting started with TypeScript
- Basic TypeScript
- Summary
- Tips and tricks
- CDI event bus
- Extras
- Learning to use the new features of Payara Micro
- Running multiple microservices in Docker
- Uber JAR and Skinny WARs
- Deploying on Payara
- Using JPA for persistence
- Swagger documentation
- Building microservices using REST
- Defining the data model
- Using Java EE 8 technologies
- Building an Issue Management System (IMS) backend
- Putting It All Together with Payara
- Summary
- Maven plugin
- API
- Swagger
- Context
- WebSockets
- Server-Sent Events
- Asynchronous processing
- Validation
- Filters and interceptors
- Reactive clients
- Targets
- Client API
- Exception mapping
- Entity providers
- Providers
- Matching requests to resource methods
- URI templates
- Resources
- Power Your APIs with JAXRS and CDI
- Summary
- Few tips in practice
- Customisation APIs
- Mapping between classes and JSON
- Standardizes current solutions (Jackson Gson and so on)
- Similar to JAXB with default mappings
- JSON binding
- JSON Collectors
- JSON merge patch
- JSON Pointer and JSON Patch
- JSON-P 1.1
- JSON processing
- No more third-party libraries
- JSON in databases
- JSON a first-class citizen
- REST prefers JSON
- Java EE Becomes JSON Friendly
- Summary
- The choice
- Fat JAR or Skinny WAR with Docker
- Running multiple containers
- Building custom images
- Working with distributed teams
- Docker containers
- Spring Cloud
- WildFly Swarm
- Java EE already has support
- MicroProfile
- Running our services
- Building our services
- Examples using Payara Micro
- Skinny WAR
- Fat JAR approach
- Fat JAR
- Building and Deploying Microservices
- Summary
- The bad parts yes there are a few
- Scale only what needs to scale
- The need for REST
- Single responsibility
- Infrastructure tooling as part of code
- Build for failure
- Document it
- Follow domain-driven design
- Coding practices
- Smaller code base
- Multiple small units of work
- Team size and dependency
- Need for delivering new features quicker
- Traditional monoliths
- Understanding Microservices
- Summary
- Validations the entity
- Entity listeners
- Performing CRUD operations with entities
- Entities
- Java Persistence API (JPA)
- Annotation literals
- Ordered events
- Asynchronous events
- Enhancing events
- RequestContext Activation
- CDI for Java SE 8
- CDI programming model
- Introduction to context and dependency injection
- The CDI Advantage Combined with JPA
- Summary
- Java EE Security API 1.0
- Bean Validation 2.0
- JSF 2.3
- Server Push
- Servlet 4.0
- JAXRS 2.1
- JSON Binding 1.0
- JSON Processing API
- Working with JSON documents
- JSON Processing 1.1
- CDI 2.0
- Lambdas streams and default methods
- Overview of Java SE 8
- Improvements in EE 8
- What's in Java EE 8?
- Reviews
- Get in touch
- Conventions used
- Download the color images
- Download the example code files
- To get the most out of this book
- What this book covers
- Who this book is for
- Preface
- Packt is searching for authors like you
- About the reviewer
- About the author
- Contributors
- PacktPub.com
- Why subscribe?
- Packt Upsell
- Dedication
- 版權信息
- 封面
- 封面
- 版權信息
- Dedication
- Packt Upsell
- Why subscribe?
- PacktPub.com
- Contributors
- About the author
- About the reviewer
- Packt is searching for authors like you
- Preface
- Who this book is for
- What this book covers
- To get the most out of this book
- Download the example code files
- Download the color images
- Conventions used
- Get in touch
- Reviews
- What's in Java EE 8?
- Improvements in EE 8
- Overview of Java SE 8
- Lambdas streams and default methods
- CDI 2.0
- JSON Processing 1.1
- Working with JSON documents
- JSON Processing API
- JSON Binding 1.0
- JAXRS 2.1
- Servlet 4.0
- Server Push
- JSF 2.3
- Bean Validation 2.0
- Java EE Security API 1.0
- Summary
- The CDI Advantage Combined with JPA
- Introduction to context and dependency injection
- CDI programming model
- CDI for Java SE 8
- RequestContext Activation
- Enhancing events
- Asynchronous events
- Ordered events
- Annotation literals
- Java Persistence API (JPA)
- Entities
- Performing CRUD operations with entities
- Entity listeners
- Validations the entity
- Summary
- Understanding Microservices
- Traditional monoliths
- Need for delivering new features quicker
- Team size and dependency
- Multiple small units of work
- Smaller code base
- Coding practices
- Follow domain-driven design
- Document it
- Build for failure
- Infrastructure tooling as part of code
- Single responsibility
- The need for REST
- Scale only what needs to scale
- The bad parts yes there are a few
- Summary
- Building and Deploying Microservices
- Fat JAR
- Fat JAR approach
- Skinny WAR
- Examples using Payara Micro
- Building our services
- Running our services
- MicroProfile
- Java EE already has support
- WildFly Swarm
- Spring Cloud
- Docker containers
- Working with distributed teams
- Building custom images
- Running multiple containers
- Fat JAR or Skinny WAR with Docker
- The choice
- Summary
- Java EE Becomes JSON Friendly
- REST prefers JSON
- JSON a first-class citizen
- JSON in databases
- No more third-party libraries
- JSON processing
- JSON-P 1.1
- JSON Pointer and JSON Patch
- JSON merge patch
- JSON Collectors
- JSON binding
- Similar to JAXB with default mappings
- Standardizes current solutions (Jackson Gson and so on)
- Mapping between classes and JSON
- Customisation APIs
- Few tips in practice
- Summary
- Power Your APIs with JAXRS and CDI
- Resources
- URI templates
- Matching requests to resource methods
- Providers
- Entity providers
- Exception mapping
- Client API
- Targets
- Reactive clients
- Filters and interceptors
- Validation
- Asynchronous processing
- Server-Sent Events
- WebSockets
- Context
- Swagger
- API
- Maven plugin
- Summary
- Putting It All Together with Payara
- Building an Issue Management System (IMS) backend
- Using Java EE 8 technologies
- Defining the data model
- Building microservices using REST
- Swagger documentation
- Using JPA for persistence
- Deploying on Payara
- Uber JAR and Skinny WARs
- Running multiple microservices in Docker
- Learning to use the new features of Payara Micro
- Extras
- CDI event bus
- Tips and tricks
- Summary
- Basic TypeScript
- Getting started with TypeScript
- Why use it?
- Features
- Visual Studio Code
- IntelliSense
- Debugging
- SCM support
- Terminal
- Hello World example
- Using variables types and functions
- Type inference
- Using const
- Using let
- Using functions
- Arrow functions
- Working with classes and interfaces
- Interface
- Classes
- Inheritance
- Working with arrays
- Summary
- Angular in a Nutshell
- Understanding Angular
- Anatomy of a component
- Components live and die
- Component in code
- Pipes
- Modules
- Bootstrapping process
- Angular 2 and beyond
- Angular CLI
- Project structure
- Rapid development
- Managing packages
- Dependencies
- Bootstrap dependency
- A better Hello World
- Modules
- Components
- Handling events
- Data binding
- One way
- Two way
- Services
- Routes
- routerLinkActive
- Building a project
- Setup and run sample
- Introduction to PrimeNG
- Summary
- Angular Forms
- Two approaches to forms
- Template-driven forms
- Reactive forms
- Understanding forms with an example
- Building custom forms with validations
- Checking the state of a form
- Forms with NgModel
- Reactive forms
- Setting up forms with FormBuilder
- Adding validations
- Creating a custom validator
- Grouping controls
- Setting and patching values
- Handling forms in Angular
- Gaining more control with reactive forms
- Summary
- Building a Real-World Application
- Building an Issue Management System frontend
- Setup
- Structuring the project
- Working independently of the backend
- Data models
- Securing the application
- Issue lists and details
- Rendering data with templates
- Injectable service
- Issue creation and updates
- Reactive forms
- Validation
- Issue comments
- Chatting on an issue
- Production-ready build
- Summary
- Connecting Angular to Java EE Microservices
- Integration with microservices
- Docker – focusing made easy
- Verifying the running services
- Cross Origin Resource Sharing (CORS)
- JSON communication
- Observables in Angular
- Dynamic updates using Observables
- Going to production
- Deploying on the cloud using AWS
- Launching the Amazon EC2 instance
- Installing Docker on Amazon EC2
- Docker release
- Summary
- Testing Java EE Services
- Testing strategies for microservices
- Understanding the testing pyramid
- Unit testing
- Integration testing
- End-End testing
- Microservice testing challenges
- Contract testing
- Balancing act of tests
- Testing in practice
- Integration testing with Arquillian
- Acceptance testing with Cucumber
- Feature file
- Step definitions
- Summary
- Securing the Application
- Securing the application
- JSON Web Tokens
- Token structure
- Generating the token
- IMS Security
- Verifying the token
- Consuming token in Angular
- Route Guards
- Exchanging tokens
- Injecting an authorization header
- Neither in Java EE nor MicroProfile
- General tips
- Summary
- Other Books You May Enjoy
- Leave a review - let other readers know what you think 更新時間:2021-07-02 19:23:17