About the Author |
|
xi | |
About the Technical Reviewer |
|
xiii | |
Acknowledgments |
|
xv | |
Introduction |
|
xvii | |
|
Part I Building and Deploying Java Applications to Azure |
|
|
1 | (112) |
|
Chapter 1 Getting Started with Java Development for Azure |
|
|
3 | (12) |
|
|
3 | (1) |
|
|
3 | (1) |
|
|
4 | (1) |
|
|
4 | (1) |
|
|
5 | (2) |
|
|
7 | (3) |
|
|
10 | (2) |
|
|
12 | (1) |
|
|
13 | (2) |
|
Chapter 2 Java for Azure WebApp |
|
|
15 | (24) |
|
|
15 | (1) |
|
|
15 | (1) |
|
|
16 | (1) |
|
|
17 | (1) |
|
|
17 | (1) |
|
|
17 | (1) |
|
|
18 | (1) |
|
Deploy Java Application on Azure WebApp |
|
|
18 | (1) |
|
Create a Java Spring Boot Application |
|
|
18 | (7) |
|
|
25 | (4) |
|
Deploy the Application to Azure WebApp |
|
|
29 | (5) |
|
Scaling Java Applications Hosted on Azure WebApp |
|
|
34 | (3) |
|
|
37 | (2) |
|
Chapter 3 Java-Based Azure Functions |
|
|
39 | (26) |
|
|
39 | (1) |
|
|
40 | (1) |
|
Introduction to Serverless and Azure Functions |
|
|
40 | (1) |
|
Azure Functions Use Cases |
|
|
41 | (1) |
|
|
42 | (1) |
|
|
43 | (1) |
|
|
43 | (1) |
|
|
43 | (1) |
|
App Service Environment Plan |
|
|
44 | (1) |
|
|
44 | (1) |
|
|
44 | (3) |
|
Build a Java-Based Azure Function |
|
|
47 | (16) |
|
|
63 | (2) |
|
Chapter 4 Containerizing Java Applications with Azure Kubernetes Service |
|
|
65 | (28) |
|
|
66 | (1) |
|
|
66 | (1) |
|
Introduction to Containers |
|
|
66 | (2) |
|
Understanding Azure Kubernetes Service |
|
|
68 | (3) |
|
Containerize a Java Application and Run It on Azure Kubernetes Service |
|
|
71 | (1) |
|
Create Azure Container Registry |
|
|
71 | (4) |
|
Create an Azure Kubernetes Service |
|
|
75 | (6) |
|
Containerize a Java Application |
|
|
81 | (6) |
|
Run the Container on Azure Kubernetes Service |
|
|
87 | (4) |
|
|
91 | (2) |
|
Chapter 5 Running Java Applications on Azure Spring Cloud |
|
|
93 | (20) |
|
|
93 | (1) |
|
|
94 | (1) |
|
Introduction to Azure Spring Cloud |
|
|
94 | (1) |
|
Create an Azure Spring Cloud Service |
|
|
95 | (9) |
|
Deploy a Java Application on Azure Spring Cloud |
|
|
104 | (7) |
|
|
111 | (2) |
|
Part II Integrating Java Applications with Popular Azure Services |
|
|
113 | (166) |
|
Chapter 6 Integrating with an Azure Storage Account |
|
|
115 | (22) |
|
|
115 | (1) |
|
|
116 | (1) |
|
Introduction to Azure Storage |
|
|
116 | (2) |
|
Create an Azure Storage Account |
|
|
118 | (3) |
|
Working with Azure Storage Blob |
|
|
121 | (6) |
|
Working with Azure Storage Queue |
|
|
127 | (3) |
|
Working with Table Storage |
|
|
130 | (6) |
|
|
136 | (1) |
|
Chapter 7 Azure SQL from Java Applications |
|
|
137 | (24) |
|
|
137 | (1) |
|
|
137 | (1) |
|
Introduction to Azure SQL Database |
|
|
138 | (1) |
|
Create an Azure SQL Database |
|
|
139 | (8) |
|
Work with Azure SQL Database |
|
|
147 | (9) |
|
|
156 | (2) |
|
|
158 | (3) |
|
Chapter 8 Work with Azure Cosmos DB |
|
|
161 | (20) |
|
|
161 | (1) |
|
|
161 | (1) |
|
Introduction to Azure Cosmos DB |
|
|
162 | (1) |
|
Create an SQL API Cosmos DB |
|
|
163 | (5) |
|
Work with SQL API Cosmos DB |
|
|
168 | (11) |
|
|
179 | (2) |
|
Chapter 9 Storing Runtime Data in Azure Redis Cache |
|
|
181 | (16) |
|
|
181 | (1) |
|
|
182 | (1) |
|
Introduction to Azure Redis Cache |
|
|
182 | (2) |
|
|
184 | (6) |
|
Work with Azure Redis Cache |
|
|
190 | (3) |
|
Using Console to Work with Redis Cache |
|
|
193 | (2) |
|
|
195 | (2) |
|
Chapter 10 Sending Emails Using Graph API |
|
|
197 | (24) |
|
|
197 | (1) |
|
|
198 | (1) |
|
Introduction to Graph API |
|
|
198 | (2) |
|
Steps to Send Mail Using Graph API |
|
|
200 | (1) |
|
Send Mail Using Microsoft Graph API |
|
|
201 | (15) |
|
Microsoft Graph API Explorer |
|
|
216 | (3) |
|
|
219 | (2) |
|
Chapter 11 Debugging and Monitoring Using Azure Monitor and Application Insights |
|
|
221 | (32) |
|
|
221 | (1) |
|
|
222 | (1) |
|
Introduction to Azure Monitor and Application Insights |
|
|
222 | (2) |
|
Configure Azure Monitor Metrics and Dashboard |
|
|
224 | (12) |
|
Create Performance Alerts |
|
|
236 | (11) |
|
Work with Application Insights for Java Application |
|
|
247 | (5) |
|
|
252 | (1) |
|
Chapter 12 Authentication and Authorization Using Azure Active Directory |
|
|
253 | (26) |
|
|
253 | (1) |
|
|
254 | (1) |
|
Introduction to Azure Active Directory |
|
|
254 | (1) |
|
Configure Azure Active Directory for Authentication and Authorization |
|
|
255 | (1) |
|
Create a User in Azure Active Directory |
|
|
255 | (3) |
|
Register an Application in Azure Active Directory |
|
|
258 | (9) |
|
Assign the User to the Application Role |
|
|
267 | (4) |
|
Configure a Spring Boot Application |
|
|
271 | (5) |
|
Authentication Scenarios for Azure AD |
|
|
276 | (1) |
|
Web Browser to Web Application |
|
|
276 | (1) |
|
|
277 | (1) |
|
Native Application to Web API |
|
|
277 | (1) |
|
Web Application to Web API |
|
|
277 | (1) |
|
Server Application to Web API |
|
|
278 | (1) |
|
|
278 | (1) |
|
Part III DevOps and Best Practices |
|
|
279 | (72) |
|
Chapter 13 Provisioning Resources with Azure DevOps and Azure CLI |
|
|
281 | (24) |
|
|
281 | (1) |
|
|
282 | (1) |
|
Introduction to Infrastructure as Code (laC) on Azure |
|
|
282 | (1) |
|
Create an Azure CLI Script to Spin Up Azure WebApp |
|
|
283 | (3) |
|
Create an Azure DevOps Pipeline to Spin Up Azure WebApp |
|
|
286 | (16) |
|
|
302 | (3) |
|
Chapter 14 Building and Deploying Using Azure DevOps |
|
|
305 | (16) |
|
|
305 | (1) |
|
|
305 | (1) |
|
Create a Java Application and Commit It to Git-Based Azure Repos |
|
|
306 | (4) |
|
Create a YAML-Based Pipeline |
|
|
310 | (9) |
|
|
319 | (2) |
|
Chapter 15 A Near-Production Azure-Based Java Application |
|
|
321 | (30) |
|
|
321 | (1) |
|
|
321 | (1) |
|
|
322 | (1) |
|
Identify the Host Options |
|
|
322 | (1) |
|
Modernize Application and Then Move to Azure |
|
|
323 | (1) |
|
Choose the Right Azure Services for Your Application |
|
|
323 | (1) |
|
Plan the Cloud Cost Meeting Your Need |
|
|
323 | (1) |
|
Plan for Scalability, Availability, and Reliability |
|
|
324 | (1) |
|
Have a Robust Debugging and Monitoring Strategy in Place |
|
|
324 | (1) |
|
Secure Your Application on Azure |
|
|
324 | (1) |
|
Automate Spinning Up Azure Services and Application Deployment |
|
|
325 | (1) |
|
Have the Right Backup and Disaster Recovery Strategy in Place |
|
|
325 | (1) |
|
Build a Near-Production Scenario |
|
|
325 | (1) |
|
|
325 | (1) |
|
Implementation: Create Infrastructure |
|
|
326 | (10) |
|
Build the Application and Deploy It to Azure WebApp |
|
|
336 | (7) |
|
Deploy the Application to Azure WebApp |
|
|
343 | (6) |
|
|
349 | (2) |
Index |
|
351 | |