最新章節
- Summary
- Configuring durable subscribers
- Setting up a JMS message topic
- Setting up a JMS message queue
- Setting up a JMS connection factory
- Setting JMS resources
品牌:中圖公司
上架時間:2021-07-02 18:42:59
出版社:Packt Publishing
本書數字版權由中圖公司提供,并由其授權上海閱文信息技術有限公司制作發行
- Summary 更新時間:2021-07-02 22:05:34
- Configuring durable subscribers
- Setting up a JMS message topic
- Setting up a JMS message queue
- Setting up a JMS connection factory
- Setting JMS resources
- Setting up data sources
- Setting up connection pools
- Setting up database connectivity
- Stopping a domain
- Deleting domains
- Creating domains
- GlassFish domains
- The asadmin command-line utility
- The Autodeploy directory
- Deploying an application through the command line
- Undeploying an application through the GlassFish Admin Console
- Deploying an application through the web console
- Deploying our first Java EE application
- Starting GlassFish
- Performing the installation
- GlassFish dependencies
- Installing GlassFish
- Obtaining GlassFish
- Configuring and Deploying to GlassFish
- Summary
- HTTP/2 server push support
- Asynchronous processing
- Configuring web applications programmatically
- Pluggability
- Servlet listeners
- Servlet filters
- Passing initialization parameters to a servlet via annotations
- Persisting application data across requests
- Response redirection
- Request forwarding
- Request forwarding and response redirection
- Processing HTML forms
- Testing the web application
- Writing our first servlet
- What is a servlet?
- Servlet Development and Deployment
- Summary
- EJB web service clients
- Exposing EJBs as web services
- Sending attachments to web services
- Developing a web service client
- Developing web services with JAX-WS
- Web Services with JAX-WS
- Summary
- The controller service
- Developing microservices client code
- Developing microservices using Java EE
- Microservices and Java EE
- Disadvantages of a microservices architecture
- Advantages of a microservices architecture
- Introduction to microservices
- Microservices Development with Java EE
- Summary
- JavaScript Server-sent events client
- Server-sent events
- Sending path parameters via the JAX-RS client API
- Path parameters
- Sending query parameters via the JAX-RS client API
- Query parameters
- Query and path parameters
- Developing a RESTful web service client
- Converting data between Java and XML with JAXB
- Testing our web service
- Configuring via the @ApplicationPath annotation
- Configuring the REST resources path for our application
- Developing a simple RESTful web service
- An introduction to RESTful web services and JAX-RS
- RESTful Web Services with JAX-RS
- Summary
- Custom form authentication mechanism
- Form authentication mechanism
- Basic authentication mechanism
- Authentication mechanisms
- Custom identity stores
- Setting up an identity store stored in an LDAP database
- Setting up an identity store stored in a relational database
- Identity stores
- Securing Java EE Applications
- Summary
- Creating durable subscribers
- Receiving messages from a message topic
- Sending messages to a message topic
- Message topics
- Browsing message queues
- Retrieving messages from a message queue
- Sending messages to a message queue
- Message queues
- Java Messaging Service
- Summary
- Additional information about the Java API for WebSocket
- Developing WebSocket clients in Java
- Developing JavaScript client-side WebSocket code
- Developing WebSocket clients
- Developing an annotated WebSocket server endpoint
- Developing a WebSocket server endpoint
- WebSocket
- Summary
- Generating JSON strings from Java objects with JSON-B
- Populating Java objects from JSON with JSON-B
- JSON Patch
- JSON pointer
- Parsing JSON data with the Streaming API
- Generating JSON data with the Streaming API
- The JSON-P Streaming API
- Parsing JSON data with the Model API
- Generating JSON data with the Model API
- The JSON-P Model API
- JSON Processing with JSON-P and JSON-B
- Summary
- Event ordering
- Asynchronous events
- Handling CDI events
- Firing CDI events
- CDI events
- Named bean scopes
- Qualifiers
- Dependency injection
- Named beans
- Contexts and Dependency Injection
- Summary
- Client authentication
- EJB security
- Calendar-based EJB timer expressions
- EJB timer service
- Message-driven bean life cycle
- Stateless and singleton session bean life cycles
- Stateful session bean life cycle
- Enterprise JavaBean life cycles
- Bean-managed transactions
- Container-managed transactions
- Transactions in enterprise JavaBeans
- Message-driven beans
- Asynchronous method calls
- Singleton session beans
- Invoking session beans from web applications
- A more realistic example
- Implementing EJB client code
- A simple session bean
- Session beans
- Enterprise JavaBeans
- Summary
- Final notes
- Bean Validation support
- Deleting data with the Criteria API
- Updating data with the Criteria API
- The Criteria API
- Java Persistence Query Language
- Composite primary keys
- Many-to-many relationships
- One-to-many relationships
- One-to-one relationships
- Entity relationships
- The Java Persistence API
- The Customer database
- Object Relational Mapping with the Java Persistence API
- Summary
- Additional JSF component libraries
- JSF WebSocket support
- Injecting JSF artifacts
- JSF 2.2 Faces flows
- Pass-through attributes
- HTML5-friendly markup
- JSF HTML5 support
- Ajax-enabling JSF applications
- Customizing message text
- Customizing message styles
- Customizing JSF's default messages
- Validator methods
- Creating custom validators
- Custom data validation
- Navigation
- Named bean scopes
- Named beans
- Form submission
- Grouping components
- Validation
- Project stages
- Facelets
- Developing our first JSF application
- Standard resource locations
- Optional faces-config.xml
- Facelets
- Introducing JSF
- JavaServer Faces
- Summary
- Java EE J2EE and the Spring framework
- One standard multiple implementations
- Java EE APIs
- Java community process
- Introduction to Java EE
- Introduction to Java EE
- Questions
- Piracy
- Errata
- Downloading the example code
- Customer support
- Reader feedback
- Conventions
- Who this book is for
- What you need for this book
- What this book covers
- Preface
- Customer Feedback
- Why subscribe?
- www.PacktPub.com
- About the Reviewers
- About the Author
- Credits
- 版權信息
- 封面
- 封面
- 版權信息
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Why subscribe?
- Customer Feedback
- Preface
- What this book covers
- What you need for this book
- Who this book is for
- Conventions
- Reader feedback
- Customer support
- Downloading the example code
- Errata
- Piracy
- Questions
- Introduction to Java EE
- Introduction to Java EE
- Java community process
- Java EE APIs
- One standard multiple implementations
- Java EE J2EE and the Spring framework
- Summary
- JavaServer Faces
- Introducing JSF
- Facelets
- Optional faces-config.xml
- Standard resource locations
- Developing our first JSF application
- Facelets
- Project stages
- Validation
- Grouping components
- Form submission
- Named beans
- Named bean scopes
- Navigation
- Custom data validation
- Creating custom validators
- Validator methods
- Customizing JSF's default messages
- Customizing message styles
- Customizing message text
- Ajax-enabling JSF applications
- JSF HTML5 support
- HTML5-friendly markup
- Pass-through attributes
- JSF 2.2 Faces flows
- Injecting JSF artifacts
- JSF WebSocket support
- Additional JSF component libraries
- Summary
- Object Relational Mapping with the Java Persistence API
- The Customer database
- The Java Persistence API
- Entity relationships
- One-to-one relationships
- One-to-many relationships
- Many-to-many relationships
- Composite primary keys
- Java Persistence Query Language
- The Criteria API
- Updating data with the Criteria API
- Deleting data with the Criteria API
- Bean Validation support
- Final notes
- Summary
- Enterprise JavaBeans
- Session beans
- A simple session bean
- Implementing EJB client code
- A more realistic example
- Invoking session beans from web applications
- Singleton session beans
- Asynchronous method calls
- Message-driven beans
- Transactions in enterprise JavaBeans
- Container-managed transactions
- Bean-managed transactions
- Enterprise JavaBean life cycles
- Stateful session bean life cycle
- Stateless and singleton session bean life cycles
- Message-driven bean life cycle
- EJB timer service
- Calendar-based EJB timer expressions
- EJB security
- Client authentication
- Summary
- Contexts and Dependency Injection
- Named beans
- Dependency injection
- Qualifiers
- Named bean scopes
- CDI events
- Firing CDI events
- Handling CDI events
- Asynchronous events
- Event ordering
- Summary
- JSON Processing with JSON-P and JSON-B
- The JSON-P Model API
- Generating JSON data with the Model API
- Parsing JSON data with the Model API
- The JSON-P Streaming API
- Generating JSON data with the Streaming API
- Parsing JSON data with the Streaming API
- JSON pointer
- JSON Patch
- Populating Java objects from JSON with JSON-B
- Generating JSON strings from Java objects with JSON-B
- Summary
- WebSocket
- Developing a WebSocket server endpoint
- Developing an annotated WebSocket server endpoint
- Developing WebSocket clients
- Developing JavaScript client-side WebSocket code
- Developing WebSocket clients in Java
- Additional information about the Java API for WebSocket
- Summary
- Java Messaging Service
- Message queues
- Sending messages to a message queue
- Retrieving messages from a message queue
- Browsing message queues
- Message topics
- Sending messages to a message topic
- Receiving messages from a message topic
- Creating durable subscribers
- Summary
- Securing Java EE Applications
- Identity stores
- Setting up an identity store stored in a relational database
- Setting up an identity store stored in an LDAP database
- Custom identity stores
- Authentication mechanisms
- Basic authentication mechanism
- Form authentication mechanism
- Custom form authentication mechanism
- Summary
- RESTful Web Services with JAX-RS
- An introduction to RESTful web services and JAX-RS
- Developing a simple RESTful web service
- Configuring the REST resources path for our application
- Configuring via the @ApplicationPath annotation
- Testing our web service
- Converting data between Java and XML with JAXB
- Developing a RESTful web service client
- Query and path parameters
- Query parameters
- Sending query parameters via the JAX-RS client API
- Path parameters
- Sending path parameters via the JAX-RS client API
- Server-sent events
- JavaScript Server-sent events client
- Summary
- Microservices Development with Java EE
- Introduction to microservices
- Advantages of a microservices architecture
- Disadvantages of a microservices architecture
- Microservices and Java EE
- Developing microservices using Java EE
- Developing microservices client code
- The controller service
- Summary
- Web Services with JAX-WS
- Developing web services with JAX-WS
- Developing a web service client
- Sending attachments to web services
- Exposing EJBs as web services
- EJB web service clients
- Summary
- Servlet Development and Deployment
- What is a servlet?
- Writing our first servlet
- Testing the web application
- Processing HTML forms
- Request forwarding and response redirection
- Request forwarding
- Response redirection
- Persisting application data across requests
- Passing initialization parameters to a servlet via annotations
- Servlet filters
- Servlet listeners
- Pluggability
- Configuring web applications programmatically
- Asynchronous processing
- HTTP/2 server push support
- Summary
- Configuring and Deploying to GlassFish
- Obtaining GlassFish
- Installing GlassFish
- GlassFish dependencies
- Performing the installation
- Starting GlassFish
- Deploying our first Java EE application
- Deploying an application through the web console
- Undeploying an application through the GlassFish Admin Console
- Deploying an application through the command line
- The Autodeploy directory
- The asadmin command-line utility
- GlassFish domains
- Creating domains
- Deleting domains
- Stopping a domain
- Setting up database connectivity
- Setting up connection pools
- Setting up data sources
- Setting JMS resources
- Setting up a JMS connection factory
- Setting up a JMS message queue
- Setting up a JMS message topic
- Configuring durable subscribers
- Summary 更新時間:2021-07-02 22:05:34