Microsoft Java Apps
Modernize Your Java Apps with Microsoft Azure 2023-04-18
Section titled “Modernize Your Java Apps with Microsoft Azure 2023-04-18”Demonstration - Copilot and Java Apps
Section titled “Demonstration - Copilot and Java Apps”- VS Code with Java extensions
- Annotations with GitHub copilot help with code generation
- Java code
- Jump to different languages SQL, Terraform, docker-compose.yml
Java on Container Apps
Section titled “Java on Container Apps”- Use Azure Container Apps
Use cases:
- Microservices
- API
- Web Apps
- Event driven processing
- Background
-
Containerize Java Apps
-
Self contained Dockerfile with all Dependencies
-
Avoid large base images with unneeded software
-
Secure and scalable build strategy
-
Run as non-root user
-
JVM tuning
- Heap memory
- Pod replicas
Hierarchy:
Environment:
- App
- Revision - immutable version
- Replica - multiple
- Container
- Replica - multiple
- Revision - immutable version
- Integrations
- Pipelines
- Secrets management
- Cross app connections
-
Demonstration
Deploy Spring Boot microservices using DAPR to Azure container apps
using PowerShell
azcommands to create environment, replica/container config and variables for daprSet shell environment variables for addresses
Integration with application insights
-