首頁(yè) > 計(jì)算機(jī)網(wǎng)絡(luò) >
編程語(yǔ)言與程序設(shè)計(jì)
> Developing Middleware in Java EE 8最新章節(jié)目錄
舉報(bào)

會(huì)員
Developing Middleware in Java EE 8
Enterprisearchitects,designers,developers,andprogrammerswhoareinterestedinlearninghowtobuildrobustmiddlewaresolutionsforenterprisesoftwarewillfindthisbookuseful.PriorknowledgeofJavaEEisessential.
目錄(256章)
倒序
- 封面
- Title Page
- Copyright and Credits
- Developing Middleware in Java EE 8
- 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
- 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
- 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
- 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 unit
- Step 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 primitives
- JPA 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
- 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
- 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
- Writing a resource class
- Configuring a project for Jersey
- Testing your web services
- Postman as a test tool
- Handling HTTP methods
- Sub-resources
- Receiving parameters
- Query parameters
- Matrix parameters
- Path parameters
- Form parameters
- Header parameters
- Providing default values
- Bean parameters
- Using context objects
- Handling JSON
- Enabling Moxy
- Returning JSON
- Consuming JSON
- Custom responses
- Uploading files
- Handling exceptions
- Declaring custom web application exceptions
- Mapping existing exceptions
- Server-sent events
- Summary
- Manipulating JSON with JSON-B 1.0
- Why JSON?
- Mapping objects
- Mapping collections
- Formatting output
- Customizing property names
- Customizing naming strategies
- Customizing property ordering
- Ignoring properties
- Handling nulls
- Formatting dates and numbers
- Using binary
- Summary
- Communicating with Different Systems with JMS 2.0
- Message-Oriented Middleware
- Java Messaging System (JMS)
- Architecture
- JMS provider
- JMS clients
- Messages
- Administered objects
- Messaging styles
- Point-to-point style
- Publish-subscribe
- First JMS application
- Creating administered objects
- Creating a destination
- Creating a connection factory
- Creating the producer
- Creating the consumer
- Using JMS resources with annotations
- Creating connection factories
- Creating destinations
- Injecting connection factories
- Injecting destinations
- Putting them all together
- Message-Driven Beans
- Creating a message-driven bean
- Sending and receiving messages
- Text messages
- Map messages
- Object messages
- Summary
- Sending Mails with JavaMail 1.6
- Explaining mail protocols
- POP3 and IMAP
- SMTP
- Sending an email
- Sending an HTML email message
- Setting To CC and BCC fields
- Sending an email with attachments
- Summary
- Securing an Application with Java Security 1.0
- Terminology
- Authentication mechanism
- Caller
- Caller principal
- Identity store
- Basic login example
- Creating a web page to protect
- Mentioning who's allowed to access the web page
- Defining users and associated roles in a database
- Mapping security configuration to the user database
- Identity stores
- Database identity store
- LDAP identity store
- Custom identity store
- Creating a custom identity store class
- Creating an HTTP authentication mechanism
- Security context
- Authentication mechanisms
- Basic authentication
- Form authentication
- Summary
- Making Interactive Applications with WebSockets 1.1
- Understanding WebSockets
- How does WebSockets work?
- Sending and receiving messages
- Creating an endpoint
- Creating a client web page
- Lifecycle events
- Accepting path parameters
- Maintaining user state
- Using encoders
- Seat-booking application
- Designing and implementing the backend
- Designing and implementing the frontend
- Summary
- Other Books You May Enjoy
- Leave a review - let other readers know what you think 更新時(shí)間:2021-07-23 19:25:09
推薦閱讀
- UNIX編程藝術(shù)
- Java程序員面試算法寶典
- Python王者歸來(lái)
- Mastering Swift 2
- 移動(dòng)界面(Web/App)Photoshop UI設(shè)計(jì)十全大補(bǔ)
- Learning OpenStack Networking(Neutron)
- 微服務(wù)從小白到專家:Spring Cloud和Kubernetes實(shí)戰(zhàn)
- 計(jì)算機(jī)應(yīng)用基礎(chǔ)案例教程
- Java程序設(shè)計(jì)案例教程
- Go語(yǔ)言從入門到精通
- 計(jì)算語(yǔ)言學(xué)導(dǎo)論
- 面向?qū)ο蟪绦蛟O(shè)計(jì)及C++(第3版)
- Zend Framework 2 Cookbook
- Spring Boot學(xué)習(xí)指南:構(gòu)建云原生Java和Kotlin應(yīng)用程序
- Java EE基礎(chǔ)實(shí)用教程
- Learning Dynamics NAV Patterns
- Building Scalable Apps with Redis and Node.js
- The C++ Workshop
- Objective-C入門教程
- Python語(yǔ)言基礎(chǔ)
- 深入理解OSGi:Equinox原理、應(yīng)用與最佳實(shí)踐
- Julia設(shè)計(jì)模式
- 云原生時(shí)代的CoreDNS學(xué)習(xí)指南
- 零基礎(chǔ)學(xué)Python(第2版)
- Building Android Games with Cocos2d-x
- Eclipse 4 Plug-in Development by Example Beginner's Guide
- 移動(dòng)終端應(yīng)用創(chuàng)意與程序設(shè)計(jì)(2013版)
- Clojure Data Analysis Cookbook(Second Edition)
- Swift 4 Programming Cookbook
- STM32開(kāi)發(fā)實(shí)戰(zhàn):LabVIEW卷